Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   DS Question with the GET ALLIANCE function (http://www.chiefdelphi.com/forums/showthread.php?t=75051)

Lucario231 20-02-2009 20:37

DS Question with the GET ALLIANCE function
 
I found this function in the WPI DS pallete(GET ALLIANCE) and I was wondering if FIRST competions will dispatch the signal to enable this. Also, will this be used for tele or/and auton?:confused:

Thanks:)

Greg McKaskle 20-02-2009 21:23

Re: DS Question with the GET ALLIANCE function
 
I believe this is always filled in and up to date.

Greg McKaskle

martin417 01-03-2009 21:40

Re: DS Question with the GET ALLIANCE function
 
Did anybody use this function (either in Labview or C++)? If so, was the data reliable? Were there any alliance or field position errors? I believe these are entered into the FMS by humans, and the alliance would probably be right every time (or everyone would know). How about the field position?

Vikesrock 01-03-2009 22:26

Re: DS Question with the GET ALLIANCE function
 
Quote:

Originally Posted by martin417 (Post 829886)
How about the field position?

You found a use for your robot knowing which Driver's Station your team is at?

Cuse 01-03-2009 22:46

Re: DS Question with the GET ALLIANCE function
 
Nevermind.

charrisTTI 02-03-2009 08:07

Re: DS Question with the GET ALLIANCE function
 
We were going to use the "Position" property to select different autonomous routines depending upon the value. At the DC regional we were told by the people running the FMS that there was no correlation between the "Position" value and actual starting position on the field. Since alliances determine starting position among themselves prior to each match, this data would have to have been entered manually prior to each match.

Daniel_H 02-03-2009 14:05

Re: DS Question with the GET ALLIANCE function
 
We will use it to determine which trailer to track with the camera.

gwytheyrn 02-03-2009 16:01

Re: DS Question with the GET ALLIANCE function
 
Is there any way to simulate the field control (setting alliance) so I could test without switching my code back to a switch? I currently have code defaulting to red unless the get alliance returns blue (anything else will set to red).

Alan Anderson 02-03-2009 17:19

Re: DS Question with the GET ALLIANCE function
 
Quote:

Originally Posted by gwytheyrn (Post 830461)
Is there any way to simulate the field control (setting alliance) so I could test without switching my code back to a switch?

You want the FMS Light software. Links are at http://www.usfirst.org/community/frc....aspx?id=10934 near the bottom of the page.

billbo911 02-03-2009 17:31

Re: DS Question with the GET ALLIANCE function
 
Quote:

Originally Posted by Alan Anderson (Post 830504)
You want the FMS Light software. Links are at http://www.usfirst.org/community/frc....aspx?id=10934 near the bottom of the page.

This is exactly what I was going to suggest, except, I have not verified if this will work on the same PC you are programming with.

Alan, or anyone else for that matter,
Do you have experience testing this function with FMS Light? If so, can you give us a quick rundown of the procedure you used? I'm certain we could figure it out on Practice day, but if we had a verified procedure to follow, it could save us a lot of trial and error.

fritzdejongh 02-03-2009 21:20

Re: DS Question with the GET ALLIANCE function
 
get alliance worked for my team at midwest regional, for choosing which flag orientation to go after. We displayed the alliance setting in our dashboard so we could verify it was set correctly. Out of paranoia, our programmers allocated joystick buttons to override in case the field system didn't work, but they didn't need them.

Norton 03-03-2009 16:10

Re: DS Question with the GET ALLIANCE function
 
I would like to know what does the function GET ALLIANCE returns in the alliance output, anyone knows a number, a bolean a string ???
if my team is RED it returns 1? or 0? or RED?
thanks

billbo911 03-03-2009 16:24

Re: DS Question with the GET ALLIANCE function
 
Quote:

Originally Posted by Norton (Post 831208)
I would like to know what does the function GET ALLIANCE returns in the alliance output, anyone knows a number, a bolean a string ???
if my team is RED it returns 1? or 0? or RED?
thanks

It returns an "enum" of either "Red" or "Blue".

To see this your self, put the vi into your project. Connect the output you want to a case structure. Hit "Ctrl+H" to bring up the Context Help, then put your cursor over the output of interest.


All times are GMT -5. The time now is 10:32.

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