Quote:
Originally Posted by yoyodyne
Thanks Joe.
How do you wait for a new DS packet?
|
You can call IsNewControlData() on the DriverStation object.
Generally this shouldn't be necessary for this use case since usually the dashboard is expecting one or the other... so your robot program should only be using one or the other.
The only case I can see where you would use this is if you would like to print one set of messages each time a packet goes out, then you could use this to tell when that happens.
-Joe