Go to Post GP is a measurement that can only apply to yourself. To apply it to another is unfair to that person/group. - Andrew Schreiber [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 Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 26-11-2009, 02:41
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: Controlling Autonomous GamePlan

The competition sequence goes:
watchdog override->disabled->autonomous->disabled(?)->teleop->disabled

The robot has no problems doing IO to the DS when it's in disabled mode, which is what you see when teams are loading and the field is being set up. Our biggest challenge with using this time period was that that period can be a little hectic for the drivers, since they have to do robot loading, last-minute tactics, and the pre-match checklist.
__________________
Get yer robot source code here!
Reply With Quote
  #2   Spotlight this post!  
Unread 26-11-2009, 15:59
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,751
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: Controlling Autonomous GamePlan

Last year, the DS allowed switch settings through until the mode was enabled. This meant that the right way to use it was to latch the data during disable, and ignore what was sent in enable. I believe that this will now be done for you, and you can simply read the value and during enable, it will give the value from the last disable packet.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 27-11-2009, 00:20
ezygmont708's Avatar
ezygmont708 ezygmont708 is offline
FAIL = First Attempt In Learning
AKA: Zygmont
FRC #0708 (Hatters Robotics)
Team Role: Mentor
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Horsham, PA
Posts: 91
ezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant futureezygmont708 has a brilliant future
Re: Controlling Autonomous GamePlan

Attached is a PDF of what TEAM 708 used this year. It is a binary switch, allowing many autonomous modes to be pre-programmed into the robot and switched depending on competition variables i.e. starting position, game strategy.

The last slide is a list of items needed to put this "Switch Box"
Attached Files
File Type: pdf Autonomous Mode Switch.pdf (289.6 KB, 66 views)
__________________
E. Zygmont
Team Lead - Team 708 Hatters Robotics
Hatboro- Horsham Senior High School - Horsham, PA
Reply With Quote
  #4   Spotlight this post!  
Unread 27-11-2009, 11:47
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,112
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: Controlling Autonomous GamePlan

Quote:
Originally Posted by nathanww View Post
The competition sequence goes:
watchdog override->disabled->autonomous->disabled(?)->teleop->disabled
The first part of that apparently isn't always the case when using FMS-lite. We didn't spend any time trying to figure out exactly what was going on at CAGE, but our 2009 robot's autonomous didn't run consistently. Its autonomous selection defaults at bootup to "none", reads an analog input from the Driver Station a half second into disabled mode to set the desired routine, and uses that setting as soon as it gets enabled. It also allows the operator to step through the routines using a pair of joystick buttons at any time before autonomous mode is commanded. The currently selected mode is displayed on the bottom line of the DS display. Even though we only had one routine programmed, and the pot on the analog input was locked in place, we discovered that we sometimes had to use the alternate method to force the autonomous program to run at all.

There was enough field-control frustration that day for us to just shrug and do whatever worked.
Reply With Quote
  #5   Spotlight this post!  
Unread 28-11-2009, 13:23
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Controlling Autonomous GamePlan

We've used 3 methods.

In '07, we used the user-byte feature to display the autonomous mode in disabled, and indexed the number up or down using buttons hooked to i/o.

In '08, we used the remote control.

In '09, we used the two throttles on our tankdrive joysticks. One was distance, the other angle (fed back through the driver station LCD).

Right now, we've also prorammed a simple count-up / count-down on driver joystick button press so we can use the '07 method on the new control system with feedback through the 2010 driverstation user messages screen. It updates using the same LCD library the '09 one did.
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
Controlling team 803 Programming 10 21-02-2006 13:56
Controlling motors railerobotics Programming 6 17-01-2006 17:17
Problem controlling a servo Entropia Programming 2 18-06-2005 18:36


All times are GMT -5. The time now is 11:55.

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