|
Loop Starving Robot Drive
First off I am a relatively new programmer in LabVIEW. Our robot is running a four-motor tank drive. I have been having problems when driving the robot, the code cuts and the robot has to be disabled and reenabled in the driver station. This cut only happens when the left joystick is foward and the right joystick is back AND when past 60% power. The other way works fine.
We checked the diagnosis and came up with this error code:
ERROR <Code> -44061 occurred at "RobotDrive" in the VI path: Robot Main.vi
<time>17:15:45 02/1/2013
FRC: The loop that contains RobotDrive is not running fast enough.
This error can occur if the loop contains too much code, or if one or
more other loops are starving the RobotDrive loop.
I have gone through the code and checked everything that might be causing this problem but it continues to occur. Any suggestions of what can I do to fix this?
|