Go to Post You guys must sponsor that one team on The Fosters! - Tyler Olds [more]
Home
Go Back   Chief Delphi > Technical > Control System
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
  #12   Spotlight this post!  
Unread 22-01-2007, 11:47
kaszeta's Avatar
kaszeta kaszeta is offline
Registered User
FRC #0095 (Grasshoppers)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Lebanon, NH
Posts: 334
kaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of lightkaszeta is a glorious beacon of light
Re: Got Gyro?

Quote:
Originally Posted by jdejoannis View Post
That sounds interesting. I wouldn't mind learning more about this technique.
Our robot is basically a tank drive (left side and right side wheels centered on the robot), driven by a single joystick:

1. p1_y determines the speed of the robot. Set both L and R motors to this speed.
2. p1_x adjusts the desired heading of the robot.
3. Every time through the loop, you look at your current heading, and the
desired heading, and use the error between the two in a PID control loop
to set the amount you're adding to one side and subtracting from the other
to turn the robot to correct the heading.

This allows us to correct for motor biases and different traction between left and right and drive in a straight heading.

We've also used this same approach with a omnidirectional drive system, although we've never gone to competition with it.
 


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
Got Weight? Dominicano0519 General Forum 56 27-02-2006 22:06
Got NERVE? KathieK General Forum 0 13-02-2006 18:11
I got GAME! Goober!!! Games/Trivia 3 07-02-2005 21:43
Got Mak? Quentinfool General Forum 5 19-05-2003 17:54
Got Robot? Chubtoad General Forum 19 08-05-2002 22:21


All times are GMT -5. The time now is 05:43.

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