Go to Post Do what you do well and I'm sure there will be much hope in your future! - Collmandoman [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 15-01-2009, 17:07
Mike Mahar Mike Mahar is offline
Registered User
FRC #0138
 
Join Date: Jan 2007
Location: Amherst, NH
Posts: 64
Mike Mahar will become famous soon enough
Telling the drivers station your alliance

There is a function in the WPI library drivers station that tells you what alliance you are on. How does the drivers station know which alliance you are on. Is it a line on the competition port? We need to know this if we are to search for the opponents trailer with the camera. We can write the code that uses this information but we can't test it unless we can tell our drivers station its alliance. (kRed or kbBue)
  #2   Spotlight this post!  
Unread 15-01-2009, 18:53
Justin Stiltner's Avatar
Justin Stiltner Justin Stiltner is offline
The big guy
no team
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Blacksburg, Va.
Posts: 305
Justin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud ofJustin Stiltner has much to be proud of
Send a message via ICQ to Justin Stiltner Send a message via AIM to Justin Stiltner Send a message via MSN to Justin Stiltner Send a message via Yahoo to Justin Stiltner
Re: Telling the drivers station your alliance

In the past the drivers station tells your OI what alliance you are on. However I would put a simple switch on your robot that you flip to set one alliance or the other. You will know as you are putting your robot down what alliance you are on. This will let you test code and such now, and if you find out the information is available to your code then its a simple change to take it back out.
__________________
Justin Stiltner
Lead Robot Inspector, VCU Regional
Unmanned Systems Lab, Virginia Tech
KI4URQ
  #3   Spotlight this post!  
Unread 17-01-2009, 12:24
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Telling the drivers station your alliance

There is the User1 dip switch on the cRIO and we have thought about using this to switch the alliance that we are on if we don't get it from the competition port. In your code you can see what the state of this switch is and use it for your own use.

Here is the CompactRIO cRIO-FRC Operating Instructions and Specifications document from NI, a very useful document. Learn more about the User1 dip switch here:
http://decibel.ni.com/content/docs/DOC-2632
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: Drivers of the Winning Alliance JYang Extra Discussion 2 26-10-2008 21:55
Telling alliance in the code Andrew Schreiber Programming 4 30-01-2008 10:30
any of your regional "buddies" with your in your alliance? Alex Cormier Championship Event 12 08-04-2004 04:20
How does your team pick your drivers? Tton General Forum 14 08-04-2003 20:54
Members of alliance station... archiver 2001 2 24-06-2002 01:26


All times are GMT -5. The time now is 05:51.

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