Go to Post We are different, but in our differences we help the world continue to grow, change, become inspired. Different is NOT bad. Be true to your self, be weird, be dorky, be crazy, be a geek. :) - chellyzee93 [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 20-03-2011, 16:58
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Help the field crew, reset your gyro in autonomous

In order to keep the matches going smoothly, it's important for your field crew to turn on your robot as soon as it gets on the field. However, it seem that many programs only open the gyro when the program first starts. If the robot is moved afterwards, it will use the power-on position as the starting position, and cause problems. Because of this, some teams are bringing their robot onto the field, then spending a minute lining the robot up, then turning the robot on, delaying the start of the match by the time it takes to line up the robot

There's an easy way to fix this. The first thing you do in autonomous, call gyro reset. This sets the heading to 0 right where the robot is at the beginning of autonomous. You can move your robot while it's on, without affecting the gyro that way. We've been doing this for years, but I've talked to many people at regionals this year that hadn't thought of doing this.

There is one caveat, your robot will need to be still while the gyro calibrates, which is typically 20-30 seconds after power up (if you open the gyro at the beginning of the program).

If you can't implement this in software (or don't want to deal with the caveat above), make sure your field crew knows where the reset button on the cRIO is. After aligning the robot, press the reset button on the cRIO, and it will only take 20-30 seconds to come up rather then the 1 minute or longer that it takes if you power cycle the whole robot. You can also hit the reboot robot button on the driver station to have the same affect.

Last edited by Joe Ross : 20-03-2011 at 17:03.
 


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: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