View Full Version : Driver station communication during autonomous
02-23-2009, 07:25 PM
Does a digital input to the driver station get transmitted to the robot during the autonomous period of the competition.
02-23-2009, 08:39 PM
No, it does not. These inputs will be read as zero during this time.
The inputs are read correctly while the robot is disabled, however,
and you can save values computed from them to affect what is
done during the autonomous period. At least for the C++ control
code, there is a also a race condition for the last trip through the
disabled loop. The digital inputs for this call may sometimes be
zeroed. You need to program to handle this possibly by buffering
vBulletin® v3.6.4, Copyright ©2000-2014, Jelsoft Enterprises Ltd.