Go to Post Stupid rules are not meant to be broken; they're meant to be changed. Unless and until they are changed, breaking them is wrong. - Alan Anderson [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2016, 16:11
KyloRen42 KyloRen42 is offline
Registered User
no team
 
Join Date: Jan 2016
Location: Detroit
Posts: 18
KyloRen42 is an unknown quantity at this point
Question Querying the FMS for game state information

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.
  #2   Spotlight this post!  
Unread 10-01-2016, 19:44
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Querying the FMS for game state information

No, unfortunately not.

Greg McKaskle
  #3   Spotlight this post!  
Unread 11-01-2016, 14:25
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Querying the FMS for game state information

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.
  #4   Spotlight this post!  
Unread 11-01-2016, 14:35
tragic tragic is offline
Programming Mentor
FRC #4633 (Bobcats)
Team Role: Alumni
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Calgary Alberta
Posts: 19
tragic is an unknown quantity at this point
Re: Querying the FMS for game state information

Quote:
Originally Posted by KyloRen42 View Post
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.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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