Go to Post After all, it's not where you are but the people you're with that make it worth while. - RoboJedi75 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 06-02-2010, 18:43
ellisk ellisk is offline
Registered User
FRC #1540
 
Join Date: Dec 2008
Location: Vancouver, WA
Posts: 41
ellisk is on a distinguished road
Selecting autonomous modes using FRC PC Dashboard

I'd like to send information to the robot regarding position, balls, etc to let it know how to behave during autonomous. Last year, we used switches on our OI, but I wanted to know if I could use something analogous to switches on the FRC PC Dashboard to avoid having to build physical switches.

Thanks.
Reply With Quote
  #2   Spotlight this post!  
Unread 06-02-2010, 20:30
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: Selecting autonomous modes using FRC PC Dashboard

If you do not plug in the I/O board and leave the Configuration set to the Compatible I/O, the four sliders and eight of the buttons are controls, meaning you can enter values in and they will be sent to the robot.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 06-02-2010, 21:12
Radical Pi Radical Pi is offline
Putting the Jumper in the Bumper
AKA: Ian Thompson
FRC #0639 (Code Red Robotics)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2010
Location: New York
Posts: 655
Radical Pi has a spectacular aura aboutRadical Pi has a spectacular aura aboutRadical Pi has a spectacular aura about
Re: Selecting autonomous modes using FRC PC Dashboard

Closest thing you could do is a webserver on the robot for config. I think there are a few tutorials on how to do that
Reply With Quote
  #4   Spotlight this post!  
Unread 07-02-2010, 03:42
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Selecting autonomous modes using FRC PC Dashboard

Quote:
Originally Posted by Radical Pi View Post
Closest thing you could do is a webserver on the robot for config. I think there are a few tutorials on how to do that
...which you could not access on the field. The FMS field network blocks all extraneous traffic like this.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-02-2010, 08:55
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
Re: Selecting autonomous modes using FRC PC Dashboard

Be careful with this approach. We had problems last year. The data from the driver's station is sent during the disabled period and not during autonomous. We were reading the our autonomous mode from digital input pins on the driver's station and they were being sent to the robot properly. Just as the FMS was switching from disabled to autonomous, however, we would get one last packet that was full of garbage. This would set our autonomous mode to something random.

I don't know if this was an artifact for the old driver's station or something inherent in the comm system. If it's the comm system you will have to code around it.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-02-2010, 10:31
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: Selecting autonomous modes using FRC PC Dashboard

Quote:
Originally Posted by Mike Mahar View Post
Be careful with this approach. We had problems last year. The data from the driver's station is sent during the disabled period and not during autonomous...
The control system was modified to make this a bit easier this year. Definitely test it using the Practice mode, but I believe you'll find that the joystick throttles and I/O values are latched for you. The values during auto enabled will be the same as when disabled just prior to the match.

Greg McKaskle
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
Using FRC dashboard w/ camera during competition? asianfez123 FRC Control System 2 05-02-2009 15:56
Using FRC dashboard w/ camera during competition? asianfez123 Rules/Strategy 7 24-01-2009 22:07
multiple autonomous modes using easyc cerberus170 Programming 3 20-02-2007 15:01
Autonomous modes? Buster Robotics Education and Curriculum 4 17-03-2004 15:56
Selecting Autonomous Behavior Gobiner Programming 5 22-01-2003 09:44


All times are GMT -5. The time now is 13:54.

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