Go to Post I don't think we really fit into those rigidly defined categories, my team builds our robot. - AdamHeard [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 Rating: Thread Rating: 3 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #12   Spotlight this post!  
Unread 02-03-2015, 16:07
microbuns's Avatar
microbuns microbuns is offline
Registered User
AKA: Sam Maier
FRC #4917
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Elmira
Posts: 81
microbuns is an unknown quantity at this point
Re: Driving Straight With Encoders

Quote:
Originally Posted by Ether View Post

Here's some info that may be of interest.

Drive straight with encoders:

http://www.chiefdelphi.com/forums/sh...89#post1446789

Use motion planning for best results:

http://www.chiefdelphi.com/forums/sh...ad.php?t=98358

http://www.chiefdelphi.com/forums/sh...d.php?t=134965

Do some simple system identification[1]. For example, take the wheel diameter problem Todd mentioned. Drive the vehicle in a straight line (by tweaking the left-right motor commands) and note the ratio of the left and right encoder values. Use that ratio to fudge your setpoints, or use it to fudge your encoder readings before using them as your process variable.

[1] http://en.wikipedia.org/wiki/System_identification

We may have done some of this "system identification" unintentionally. We did a test where we pushed the robot straight and looked at the encoder values after a certain distance - the two wheel systems seem to be more than within our error tolerance, as we saw a <0.1% error arise (little enough error to just be caused by how we conducted the experiment). We believe the difference is in friction on the two wheels, but we are unsure of a way to quantify that.
 


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 01:51.

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