Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   What's the score? (http://www.chiefdelphi.com/forums/showthread.php?t=105068)

cgmv123 26-03-2012 21:34

Re: What's the score?
 
Quote:

Originally Posted by Grim Tuesday (Post 1149780)
Time remaining would be a nice variable to feed to the robot and driver station as well.

There is getMatchTime(), but it is "unofficial". The DriverStation class does have some pretty useful functions. One I'm hoping to implement for our shooter is getBatteryVoltage().

DominickC 26-03-2012 21:37

Re: What's the score?
 
Does anyone else think that a timer on the DS would also be a good idea?

Bongle 26-03-2012 21:42

Re: What's the score?
 
What we did last year was at the start of the operatorControl call, call GetFPGATime(), and then send the time elapsed over the network packer to our custom dashboard. It won't be perfect, but it'll be very close.


All times are GMT -5. The time now is 08:50.

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