Go to Post If FIRST makes a field invisible to the audience, I will buy every team a dozen Krispy Kremes. - Chris is me [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 24-01-2009, 16:39
ellisk ellisk is offline
Registered User
FRC #1540
 
Join Date: Dec 2008
Location: Vancouver, WA
Posts: 41
ellisk is on a distinguished road
Using encoders for traction control help

Hi all,
We've been using encoders to measure the wheel velocity, and then encoders on some omni wheels to measure actual velocity. However, I've been unsuccessful in getting this to turn into good traction control.

My code currently finds the velocity according to the omnis and the encoders on the transmission, and also finds the current motor value and the desired motor value (according to the joystick). Then, using some magical function I have yet to get working, it computes what the new motor value should be.

The problem, of course, is said magical function. I've been trying a bunch of different ideas, and none of them seem to work well (or really improve it at all). However, I am able to tell when the robot is slipping by seeing if the difference between the velocity on the real wheels and the velocity on the omni wheels is above some threshold. Has anyone had any success programming traction-control drive code using encoders?

Thanks,
Kevin
 


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
Implementing Traction Control for an advantage in the 2009 game DonRotolo Programming 143 27-02-2009 11:53
Help for Better Understanding of Shaft Encoders Xufer Programming 2 08-01-2007 23:14
Autonomous using encoders Mr.G Programming 11 17-01-2006 03:34
Using Shaft Encoders D.Viddy Programming 7 14-12-2004 18:27
Traction Control Algorithm Mr. Lim Programming 3 20-01-2004 14:26


All times are GMT -5. The time now is 09:07.

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