Go to Post When faced with large problems, I always see it as an opportunity to dream big. Really big. - JaneYoung [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
  #16   Spotlight this post!  
Unread 20-02-2015, 16:05
topgun's Avatar
topgun topgun is offline
Registered User
FRC #2846 (FireBears)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Minnesota
Posts: 229
topgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant future
Re: Multiple Autonomous Programs

When would one actually select the autonomous routine desired when using the SmartDashboard? Do you do it after connecting into the FMS but before you have to step behind the line, or in the queue line, or in the pit before leaving for the match?

I am unclear as to when the autonomous mode selection would be made given that we need to connect into the FMS.

Thanks.
__________________
-T

  #17   Spotlight this post!  
Unread 20-02-2015, 17:15
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Multiple Autonomous Programs

Quote:
Originally Posted by topgun View Post
When would one actually select the autonomous routine desired when using the SmartDashboard?
You can select and change your mind up until you have to step back.
In Autonomus Init, you read the input, and setup Autonomus to execute accordingly.
  #18   Spotlight this post!  
Unread 23-02-2015, 12:21
topgun's Avatar
topgun topgun is offline
Registered User
FRC #2846 (FireBears)
Team Role: Mentor
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Minnesota
Posts: 229
topgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant futuretopgun has a brilliant future
Re: Multiple Autonomous Programs

So you setup the robot and power on on the field. In the meantime one member of the drive team is setting up the drivers station. When connected to the FMS, then you can select the autonomous mode?
__________________
-T

  #19   Spotlight this post!  
Unread 23-02-2015, 12:31
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,906
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Multiple Autonomous Programs

We make our Dashboard selectable autonomous choice in the pit.
The robot code just reads the Dashboard values whenever it is running and connected via network to the Driver station.

FMS doesn't have anything to do with any of this.
FMS only tells the Driver station what mode (Disabled/Enabled/Teleop/Auto) it wants it to be in.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #20   Spotlight this post!  
Unread 23-02-2015, 12:35
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Multiple Autonomous Programs

Quote:
Originally Posted by topgun View Post
When connected to the FMS, then you can select the autonomous mode?
Yes, when your robot connects and starts running code, it posts to the Driver's Station (robot init). At that point, the input field can be edited. Once Autonomous Starts (autonomus init), the robot reads the input field and sets up parameters, and runs the appropriate code (autnomous periodic).

In theory, you can do this while tethered in the que (after you have discussed with your alliance members who is doing what, who is starting where). However, in the event of a last minute change (problem with robot on the field), you can change up until the start of Autonomus.

This is most helpful during practice matches when there can be a lot of changes on the field. By the time you get to qualification matches, you have a good idea going onto the field who is doing what.

Last edited by rich2202 : 23-02-2015 at 12:39.
  #21   Spotlight this post!  
Unread 23-02-2015, 16:28
MamaSpoldi's Avatar
MamaSpoldi MamaSpoldi is offline
Programming Mentor
AKA: Laura Spoldi
FRC #0230 (Gaelhawks)
Team Role: Engineer
 
Join Date: Jan 2009
Rookie Year: 2007
Location: Shelton, CT
Posts: 307
MamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant futureMamaSpoldi has a brilliant future
Re: Multiple Autonomous Programs

Quote:
Originally Posted by MrTechCenter View Post
We used the driver station digital inputs to select our autonomous mode last year. We originally had a physical 3-stage switch on our driver station which was wired into the Cypress which was connected to our driver station laptop, however, our Cypress stopped working so we literally just clicked an individual digital Input on the driver station, under "D I/O" and referenced each digital input in our autonomous code, so different digital inputs would correspond to a different auton mode. I mean....it worked...
We did this last year too, but the digital inputs has been removed from the driver station this year. So we are back to a 3-bit digital switch plugged into 3 digital ports where we read them and "assemble" the selected number chosen.

I must say that I like the idea of being able to set something in disabled mode but it is risky in case they are having trouble getting comms and are not given time to update/select the desired value. So... I guess we will stick with our old switch for now.
__________________
  #22   Spotlight this post!  
Unread 23-02-2015, 17:35
Beaker's Avatar
Beaker Beaker is offline
624 Programming Alum
AKA: Justin K.
no team (No Team)
Team Role: Alumni
 
Join Date: Mar 2014
Rookie Year: 2013
Location: United States
Posts: 61
Beaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to beholdBeaker is a splendid one to behold
Re: Multiple Autonomous Programs

We have an autonomous that uses scripts that we SFTP over to the roboRIO. When we connect to the robot the dashboard displays a textbox under our autonomous tab with all of the file names and puts asterisks around the one which we have selected.

When selecting files before a match, the manipulator is able to use a special button combo to scroll through the list.

It's basically a TV guide, except for autonomous files.
  #23   Spotlight this post!  
Unread 23-02-2015, 19:39
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,275
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Multiple Autonomous Programs

Quote:
Originally Posted by MamaSpoldi View Post
I must say that I like the idea of being able to set something in disabled mode but it is risky in case they are having trouble getting comms and are not given time to update/select the desired value. So... I guess we will stick with our old switch for now.
Not that risky. They have to get your robot to establish communications before they can start the match. Once com is established and the robot starts running code, the Smart Dashboard is active. For us, it is one value in a field that changes.
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 03:01.

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