Go to Post Any team that started with a random word generator can't be bad. - Sperkowsky [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-03-2009, 14:05
Daniel_H's Avatar
Daniel_H Daniel_H is offline
Registered User
FRC #1156 (Under Control)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Brazil
Posts: 171
Daniel_H is just really niceDaniel_H is just really niceDaniel_H is just really niceDaniel_H is just really nice
Re: DS Question with the GET ALLIANCE function

We will use it to determine which trailer to track with the camera.
__________________
[<o>] gogogo [<o>]
http://undercontrol1156.com/
Reply With Quote
  #2   Spotlight this post!  
Unread 02-03-2009, 16:01
gwytheyrn gwytheyrn is offline
Registered User
AKA: David
FRC #0461 (West Side Boiler Invasion)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2004
Location: Indiana
Posts: 44
gwytheyrn is infamous around these parts
Send a message via AIM to gwytheyrn
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).
Reply With Quote
  #3   Spotlight this post!  
Unread 02-03-2009, 17:19
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: DS Question with the GET ALLIANCE function

Quote:
Originally Posted by gwytheyrn View Post
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.
Reply With Quote
  #4   Spotlight this post!  
Unread 02-03-2009, 17:31
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: DS Question with the GET ALLIANCE function

Quote:
Originally Posted by Alan Anderson View Post
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.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
  #5   Spotlight this post!  
Unread 02-03-2009, 21:20
fritzdejongh fritzdejongh is offline
Coach
FRC #2704
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Batavia, IL
Posts: 18
fritzdejongh has a spectacular aura aboutfritzdejongh has a spectacular aura aboutfritzdejongh has a spectacular aura about
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 03-03-2009, 16:10
Norton Norton is offline
Computer Engineering
FRC #0383 (The Brazilian Machine)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2004
Location: Brazil
Posts: 3
Norton is an unknown quantity at this point
Send a message via MSN to Norton
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
Reply With Quote
  #7   Spotlight this post!  
Unread 03-03-2009, 16:24
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,372
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: DS Question with the GET ALLIANCE function

Quote:
Originally Posted by Norton View Post
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.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get Alliance VI Heath Programming 2 14-02-2009 22:00
can't get control system to function pagemauck Programming 9 10-02-2009 12:26
Get Alliance VI rpcoe NI LabVIEW 2 09-02-2009 22:12
Get Alliance VI help! Xenosthebest Programming 2 03-02-2009 19:32
Get Angle Function in Labview popo308 Programming 2 01-02-2009 15:16


All times are GMT -5. The time now is 21:34.

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