Go to Post FIRST prides itself on safety. It shouldn't be limited to only the pit area. - sanddrag [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 04-03-2011, 17:44
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
Operator Console

To week 1 teams (or anyone with previous experience): has anyone successfully received data from switches connected to the operator console to select autonomous routines? I just want to ensure that the packets are sent and that we don't run into trouble on practice day with this.

Thanks!
  #2   Spotlight this post!  
Unread 04-03-2011, 18:08
plnyyanks's Avatar
plnyyanks plnyyanks is online now
Data wins arguments.
AKA: Phil Lopreiato
FRC #1124 (The ÜberBots), FRC #2900 (The Mighty Penguins)
Team Role: College Student
 
Join Date: Apr 2010
Rookie Year: 2010
Location: NYC/Washington, DC
Posts: 1,113
plnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond reputeplnyyanks has a reputation beyond repute
Re: Operator Console

we have our autonomous selector switches on our robot. we read the switches at the beginning of autonomous and select a mode from there. If you don't have success with switches on the operator console, you can always to this and put them on the robot.
__________________
Phil Lopreiato - "It's a hardware problem"
Team 1124 (2010 - 2013), Team 1418 (2014), Team 2900 (2016)
FRC Notebook The Blue Alliance for Android
  #3   Spotlight this post!  
Unread 04-03-2011, 18:16
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
Re: Operator Console

Yeah we've typically done the robot switch because we thought it was the only way, but I noticed in the basic LabVIEW framework that they read data from the operator console in the autonomous independent VI. I want to see if teams have used this successfully.
  #4   Spotlight this post!  
Unread 04-03-2011, 20:38
Sean1038 Sean1038 is offline
Registered User
FRC #1038
 
Join Date: Jan 2010
Location: Liberty Township
Posts: 14
Sean1038 is an unknown quantity at this point
Re: Operator Console

Yes, we have successfully received data from our switches on the I/O Module and have used the switches to select auton routines. We just used the Enhanced IO vi in LabView to use the data.
  #5   Spotlight this post!  
Unread 04-03-2011, 23:30
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Re: Operator Console

Last year we did this. We just went into the I/O panel of the DS and and set them in there, rather than hook up the board.
  #6   Spotlight this post!  
Unread 05-03-2011, 00:13
WizenedEE's Avatar
WizenedEE WizenedEE is offline
Registered User
AKA: Adam
FRC #3238 (Cyborg Ferrets)
Team Role: Leadership
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Anacortes, WA
Posts: 395
WizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to allWizenedEE is a name known to all
Re: Operator Console

We did it with the joystick throttles last year, and this year we're putting on a few switches and potentiometers to choose the mode.

Just read the switches and stuff during disabled. It's probably a good idea to display the information to the dashboard also.
  #7   Spotlight this post!  
Unread 05-03-2011, 09:20
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
Re: Operator Console

Cool, thanks everyone. Out of curiosity, why does it have to be in disabled, rather than autonomous independent? Also, what is the Enhanced IO vi?
  #8   Spotlight this post!  
Unread 05-03-2011, 11:30
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Operator Console

Quote:
Originally Posted by Jogo View Post
Cool, thanks everyone. Out of curiosity, why does it have to be in disabled, rather than autonomous independent? Also, what is the Enhanced IO vi?
Don't quote me on this, but I believe in disabled mode, the robot still receives live data from the driver station, but can't act on it, and when it transitions in to autonomous, the data from the driver station is 'latched' which means the last values sent when the transition occurred will be re-sent over and over regardless of any changes you make. Theoretically you could set the switches in disabled mode, and have the robot read them in autonomous, as long as they were in the correct position at the transition point. I haven't tested this yet, it was explained that way to me by another mentor, so take it with $0.02 of salt.

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #9   Spotlight this post!  
Unread 06-03-2011, 09:32
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Operator Console

Quote:
Don't quote me on this, but I believe in disabled mode, the robot still receives live data from the driver station, but can't act on it, and when it transitions in to autonomous, the data from the driver station is 'latched' which means the last values sent when the transition occurred will be re-sent over and over regardless of any changes you make.
But since it is accurate, I'll quote it anyway. The only thing I'll add is that this is true of joystick settings and DS I/O. Anything on the DS that could be used to influence or drive the robot during auto is latched. If you don't need to have your hands on it to keep the value, you can manually set the value during disabled and the robot can read it during auto.

The DS compatible I/O can be virtual -- set on the screen -- or via the Cypress board. The enhanced I/O is far more flexible, but is not virtual. You must use the board with enhanced I/O.

Greg McKaskle
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


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

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