|
Re: [FRC Blog] Einstein Report Released
Quote:
Originally Posted by EricVanWyk
Super Simple Priority Inversion:
Robot: Gyro, please reset yourself and verify proper operation.
Gyro: ... WHY IS THE EVERYTHING SPINNING SO FAST? HELP! ...
Robot: Are you working yet? How about now?
Vision Processor: Hey Robot, here is a whole lot of data for you.
Robot: Not now, I'm still waiting for Gyro to tell me he is ok. Put it in my mailbox, I'll get to it as soon as Gyro is ok.
Gyro: ... *puke* ...
Field: Robot, I keep telling you to reboot, but there there is nowhere for me to put my message to you.
Result: The robot code locks up. The cRIO's safety mechanisms kick in and prevent the bot from moving. This is actually a good thing. The bad part was that it wasn't able to get the command to reboot and try again.
|
Thank you very much for the laugh.
I made this for you:
http://i49.tinypic.com/ac9s5.png
__________________
"For every great theory about design, there is a better and contradictory theory about design. And don't let the irony of that escape you."
|