Vex Robotics Team

Vex Robotics Team

Home Helpful Tips Vex RobotC timeout bug
RobotC timeout bug Print E-mail
Written by Michael Lawton   
Saturday, 06 March 2010 17:13
There is a known bug when using RobotC with crystals. When playing a competition plugged into a field controller, the robot will time out 2 or 3 seconds to early. This has been tested with RobotC versions 1.4 and 2.0.1. To fix the problem, replace
#pragma userControlDuration(120)
with
#pragma userControlDuration(255)
The robot will still stop at the end of the game, as the field controler will disable the transmitter.

This is only for crystals. VEXnet does not have this problem and you can remove the user control duration and autonomous duration lines altogether

Last Updated on Saturday, 06 March 2010 17:49
 
 
Joomla 1.5 Templates by Joomlashack