|
Flickering Victors
I don't have my hands as deeply in the code as in the past, so this may not be all that descriptive, but hopefully someone will recognize the behavior I saw yesterday, and point me in the right direction for debugging today.
My students are programming the robot in Java, and it sounds like what they've put on the cRIO is very close to the default code, with the notable exception of configuring the drive code to use Victors rather than Jaguars. When the code is running, and no one is touching the joystick, the lights on the Victors change colors rapidly and chaotically. The joystick appears to be configured correctly, because I see the messages about switching from arcade to tank when I move the throttle. The pattern seems to change when I move the joystick; we see brief periods of solid green (but not red) mixed in with the flickering. The behavior is the same whether we're in arcade or tank. The odds that all four of our Victors are on the fritz seems unlikely, so I'm leaning toward some software configuration issue. In any case, I'm totally perplexed... any suggestions?
__________________
Team 1743 - The Short Circuits
2010 Pittsburgh Excellence in Design & Team Spirit Awards
2009 Pittsburgh Regional Champions (thanks to 222 and 1218)
2007 Pittsburgh Website Award
2006 Pittsburgh Regional Champions (thanks to 395 and 1038)
2006 Pittsburgh Rookie Inspiration & Highest Rookie Seed
Team 1388 - Eagle Robotics
2005 Sacramento Engineering Inspiration
2004 Curie Division Champions (thanks to 1038 and 175)
2004 Sacramento Rookie All-Star
_
|