|
Ghostly Joytick Values.
Yesterday my team and I were doing some testing on our robot. We already have the robot drive code written (4 motor tank) and we have tested that out before. We just ran another test to see if everything was going fine. When we ran the code, the right side at our robot spun at 100% power backwards (-1) while the right side was silent. (this is at joystick equilibrium). I never scaled the joystick values in my code. I probed the wires coming out of the joystick axis get, and found they were all messed up. The right joystick was at -1, and the left was at 0.03 (that was fine though). I restarted the robot and switched the order of the joysticks, and something wierder happened. The new rightside default was at .3, and the left side was at -.4. (no code was changed since the last run). I restarted the robot a third time, and switched around the joysticks, and they were both correctly scaled, but inverted. They stayed that way for the rest of the night (for as long as I know). any ideas why this happened?
__________________
||2009|| Entrepeneurship Award, QF - Traverse City | Rookie All Star, QF - Detroit | Highest Rookie Seed, Rookie All Star, QF - Michigan State Championship | Finalist - MARC ||2010|| Engineering Inspiration, Website Award, SF- Kettering | Judges Award, Website Award, SF - Detroit | Website Award, Winner, Michigan State Champ //Thank you 469 and 1918!! | Finalist - MARC ||2011|| Engineering Inspiration, Website - Kettering | Entrepreneurship, Website, Finalist - Waterford | Website - MSC
|