View Full Version : Querying the FMS for game state information
KyloRen42
10-01-2016, 16:11
You can query to find out what alliance you are on, an approximation of how much time is left, and some other things like that. Is there a way to request how much 'health' the towers have left, or which defenses are where? Thanks.
Greg McKaskle
10-01-2016, 19:44
No, unfortunately not.
Greg McKaskle
Alan Anderson
11-01-2016, 14:25
The FMS won't tell you which defenses are in what locations, but that's something you know in advance and can enter into your dashboard for the robot to read.
Tower health can be "read" from the lights, if you want the robot to be able to know it.
You can query to find out what alliance you are on, an approximation of how much time is left, and some other things like that. Is there a way to request how much 'health' the towers have left, or which defenses are where? Thanks.
As far as match time goes you could start a timer in code when the autonomous period begins.
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.