FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

'Get Alliance' question(s)

I see that we can now retrieve our alliance and position using the "Get Alliance" vi - great!

Can we call this from the Begin.vi (using the advanced Framework)?    Or is there a specific time / mode that this is only valid?

What the heck is position 1, 2, 3 ?    (I could guess, but I figure there is probably a definition somewhere...)

I'm guessing that if Alliance returns 'Invalid' that perhaps we're running in non-game mode - make sense?   (We need an answer here for the color tracking code, so in that case I guess we'd manually set what we want...)

And lastly, is there any good way to test this, prior to the first match when we go live?   I'm just afraid we'll show up with what we think works and, duh, do something like attack our own team...  

Thanks!

p

0 Kudos
Message 1 of 3
(5,242 Views)

Some of your questions are answered in the response to the similar question posted here.

0 Kudos
Message 2 of 3
(2,568 Views)

Answer to what the '1,2,3' means - your 'plug-in' position.   No indication of where you are on the field.

0 Kudos
Message 3 of 3
(2,568 Views)