Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=177)
-   -   Driver station communication during autonomous (http://www.chiefdelphi.com/forums/showthread.php?t=75156)

drosophyllum 23-02-2009 20:25

Driver station communication during autonomous
 
Does a digital input to the driver station get transmitted to the robot during the autonomous period of the competition.

eugenebrooks 23-02-2009 21:39

Re: Driver station communication during autonomous
 
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
the values.

Eugene


All times are GMT -5. The time now is 20:43.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi