Red Screen of Death

View previous topic View next topic Go down

Red Screen of Death

Post by DanielLC on Sat Nov 27, 2010 3:23 pm

I've run into bugs where the screen turns red and all the numbers turn into "1.#R". Does anybody know how to make it stop?

Dividing by zero doesn't do that. An infinite loop doesn't do that. The annoying thing is that it doesn't seem to do that consistently, so there's no simple way to check.

Perhaps it has something to do with the engine itself doing something with your function calls, like dividing by zero when calculating _EY() or _EZ() when you're facing straight up or down.

DanielLC
Tank
Tank

Posts : 78
Join date : 2010-10-23

View user profile

Back to top Go down

Re: Red Screen of Death

Post by JHaskly on Sat Nov 27, 2010 4:55 pm

I've run into the screen turning black before and all of the numbers turning into 1.#J, but never red and 1.#R.

Do you have an example model that does it occasionally that we could see?

_________________
Previously (and currently) known as Juz.

Please do not write "LUA", beause it's "Lua". It's Moon in Portuguese, not a Limited User Account, Last Universal Ancestor, or the Lukla Airport in Nepal.

JHaskly
Admin

Posts : 235
Join date : 2010-07-16
Age : 21
Location : Brisbane

View user profile

Back to top Go down

Re: Red Screen of Death

Post by DanielLC on Sat Nov 27, 2010 6:11 pm

Unfortunately I've modified my libraries slightly, but if I remember correctly, changing
Code:
Jo={-dcog[1]*900,9.81-dcog[2]*900,-dcog[3]*900,-dqinv[1]*210000,-dqinv[2]*210000,-dqinv[3]*210000}
to
Code:
Jo={-dcog[1]*900,9.81-dcog[2]*900,-dcog[3]*900,-spin[1]*210000,-spin[2]*210000,-spin[3]*210000}
in my Fire Fly model would cause it.

DanielLC
Tank
Tank

Posts : 78
Join date : 2010-10-23

View user profile

Back to top Go down

Re: Red Screen of Death

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum