Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Getalliance VI (http://www.chiefdelphi.com/forums/showthread.php?t=132133)

ejb1123 05-01-2015 01:31

Getalliance VI
 
In LabVIEW the WPI library has been greatly updated with a bunch of new VIs. One I saw was getalliance. I have not checked its code yet, but does this mean that in future seasons that robots on the same alliance can alliance can communicate with each other?

Lightfoot26 05-01-2015 01:34

Re: Getalliance VI
 
I am not currently at a machine with an updated Labview for FRC Library, but as I recall, this VI has been there for a while, and all it does is return "Red" or "Blue" which can be useful in some situations. It doesn't communicate with other robots on your alliance, but with your driver station, which reports whatever alliance the FMS says you are on.

Zaque 05-01-2015 05:56

Re: Getalliance VI
 
I can confirm that getAlliance returns either red or blue. Works the same in Java and C++.

Skyehawk 06-01-2015 13:27

Re: Getalliance VI
 
I have used this VI in the past, it simply returns what alliance your driver station is at. Useful for changing LED colors on your robot, not much else.

ejb1123 06-01-2015 22:14

Thank you all for explaining this.

Greg McKaskle 09-01-2015 18:18

Re: Getalliance VI
 
This year, it does tell you what color carpet your totes and robots will be sitting on. May be useful if you are using a camera or other optical sensors.

Greg McKaskle


All times are GMT -5. The time now is 12:37.

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