Go to Post I suggest that FIRST should include a "big red button" in the KOP next year to make everyone happy. :p - Jay H 237 [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 10-01-2009, 23:03
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: Encoders and Rover Wheels

The only ting we're using encoders for is detecting slipping wheels. The actual navigation is being handled by a combination of vision processing(for obstacle avoidance) and inertial nav(for absolute position)
__________________
Get yer robot source code here!
  #2   Spotlight this post!  
Unread 10-01-2009, 23:31
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: Encoders and Rover Wheels

Plain and simple, if you put an encoder an a drive wheel and it slips, the encoder reading will be inaccurate. It's next to impossible to just throw code at it to deal with slippage.

If you're dead set on using encoders to measure robot velocity and distances and etc, then it's best to put the encoder on a nondrive wheel that will be pulled along with the bot. If the bot rolls, the wheel rolls, the encoder gets an accurate count.

If the bot doesn't roll, the wheel doesn't roll, the encoder still gets an accurate count. This means it doesn't matter if the drive wheels are slipping.
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
  #3   Spotlight this post!  
Unread 11-01-2009, 12:43
Ryan O's Avatar
Ryan O Ryan O is offline
FRC Eclipse Plug-in Developer
no team (FRC Eclipse)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Plaistow
Posts: 111
Ryan O is an unknown quantity at this point
Send a message via AIM to Ryan O
Re: Encoders and Rover Wheels

In direct answer, yes, if the wheels slip then the encoder will be wrong. An encoder measures a number of revolutions, and has no way of "knowing" how much traction a wheel has. For traction control, you could look at either an idle wheel, current sensors on the motors, or an accelerometer. Encoders are a good choice to see what the wheels are doing in terms of speed - it will allow comparison to another sensor - and the comparison could provide the slip/no slip info you want.
__________________
CRUD Name: Windows
Rookie Year: 2005
Alumni to Team: 350
  #4   Spotlight this post!  
Unread 12-01-2009, 12:34
Freeztech's Avatar
Freeztech Freeztech is offline
Registered User
FRC #0401 (Hokie Guard)
Team Role: Electrical
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Blacksburg, Va
Posts: 9
Freeztech is an unknown quantity at this point
Re: Encoders and Rover Wheels

Quote:
Originally Posted by Ryan O View Post
In direct answer, yes, if the wheels slip then the encoder will be wrong. An encoder measures a number of revolutions, and has no way of "knowing" how much traction a wheel has. For traction control, you could look at either an idle wheel, current sensors on the motors, or an accelerometer. Encoders are a good choice to see what the wheels are doing in terms of speed - it will allow comparison to another sensor - and the comparison could provide the slip/no slip info you want.
yeah, my team was thinking about that, this would allow you to have a comparison between what your robot is doing and what it thinks its doing, allowing you to work this into an automatic acceleration code. because of how tricky the acceleration is going to be, this would help out loads.
__________________
Dubito, egro Cogito, egro sum.
  #5   Spotlight this post!  
Unread 11-01-2009, 16:36
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Encoders and Rover Wheels

In this case, would it be legal to use two omniwheels? Would this be considered using items other than the rover wheels for traction, even if they are designed not to mechanically affect the slippage or traction of the robot?
__________________
-- Marshal Horn
  #6   Spotlight this post!  
Unread 11-01-2009, 16:47
Andy L's Avatar
Andy L Andy L is offline
Registered User
FRC #1458
Team Role: Alumni
 
Join Date: Mar 2007
Rookie Year: 2006
Location: Danville
Posts: 348
Andy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud ofAndy L has much to be proud of
Send a message via AIM to Andy L
Re: Encoders and Rover Wheels

Quote:
Originally Posted by kamocat View Post
In this case, would it be legal to use two omniwheels? Would this be considered using items other than the rover wheels for traction, even if they are designed not to mechanically affect the slippage or traction of the robot?
Check the Q&A for this, there is a large amount of posts on that, but in general they say it is ok but provide more specifics than just that
  #7   Spotlight this post!  
Unread 11-01-2009, 18:31
EncodersRUS's Avatar
EncodersRUS EncodersRUS is offline
Zombie repelant in human shape!
AKA: Tom Hewson
FRC #2550 (OCPRO)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Beavercreek, OR
Posts: 30
EncodersRUS is an unknown quantity at this point
Send a message via Yahoo to EncodersRUS
Thumbs up Re: Encoders and Rover Wheels

Thank you for all of your input and suggestions. I will approach our legal dept. tommorow to see exactly what wheela we can use but will probably end up listening to mechanical. Thanks!
__________________
The ultimate fight:

LabVIEW Programming versus people who think rationally...

LabVIEW Junkie and 2011 OCPRO Mentor
Closed Thread


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
Rover Wheels neoshaakti Kit & Additional Hardware 11 09-01-2009 14:34
Cost of Rover Wheels Boco Gear General Forum 3 08-01-2009 16:10
New wheels / floor and encoders for position. martin417 Technical Discussion 29 08-01-2009 07:19
4 encoders + mecanum wheels programing Smoking_Gun Programming 4 18-01-2007 23:43


All times are GMT -5. The time now is 00:06.

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