Go to Post "Pimp my shopping cart"?!?! - dlavery [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 16-01-2011, 13:07
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
Re: Integrating the Accelerometer

Assuming you are driving with wheels, encoders can get you almost exactly where you want to go. They measure the exact rotational travel the wheels move, and from there you can calculate your exact displacement and velocity. They (along with the gyro) are my favorite autonomous navigation sensors.

Edit: Beaten to it.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor

"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack

Last edited by apalrd : 16-01-2011 at 13:07. Reason: beaten to it
  #2   Spotlight this post!  
Unread 16-01-2011, 13:10
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Integrating the Accelerometer

Quote:
Originally Posted by apalrd View Post
Assuming you are driving with wheels, encoders can get you almost exactly where you want to go. They measure the exact rotational travel the wheels move, and from there you can calculate your exact displacement and velocity. They (along with the gyro) are my favorite autonomous navigation sensors.

Edit: Beaten to it.
Or use the camera so location is never an issue. Encoders and gyros require correct orientation of the robot from the start. This year there is nothing to square your robot against. For this game, I think that a compass may be helpful to zero the gyro at the start. Then encoders should be sufficient for driving straight for a certain distance.
__________________
"Never let your schooling interfere with your education" -Mark Twain
  #3   Spotlight this post!  
Unread 16-01-2011, 13:12
Jogo Jogo is offline
Registered User
FRC #0353 (Pobots)
Team Role: Programmer
 
Join Date: May 2009
Rookie Year: 2007
Location: NY
Posts: 83
Jogo is on a distinguished road
Re: Integrating the Accelerometer

Thanks for the feedback.

As far as encoders...I don't really know how well those will do because we are using mecanum.
  #4   Spotlight this post!  
Unread 17-01-2011, 02:26
Slix Slix is offline
Registered User
AKA: Peter Kowalczyk
FRC #2115 (NightMares)
Team Role: Programmer
 
Join Date: Mar 2010
Rookie Year: 2010
Location: Mundelein, IL
Posts: 31
Slix is an unknown quantity at this point
Re: Integrating the Accelerometer

Quote:
Originally Posted by Jogo View Post
Thanks for the feedback.

As far as encoders...I don't really know how well those will do because we are using mecanum.
I have the same question. Will encoders work for measuring distance while using mecanum wheels?

I'm also worried about having the robot correctly oriented so that gyro angle zero is exactly perpendicular to the front of the field. Otherwise, we wouldn't get perfect results.. is this going to be a huge problem for autonomous?
  #5   Spotlight this post!  
Unread 17-01-2011, 02:48
jhersh jhersh is offline
National Instruments
AKA: Joe Hershberger
FRC #2468 (Appreciate)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 1997
Location: Austin, TX
Posts: 1,006
jhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond reputejhersh has a reputation beyond repute
Re: Integrating the Accelerometer

Quote:
Originally Posted by Slix View Post
I have the same question. Will encoders work for measuring distance while using mecanum wheels?
They can work, but they are much less tolerant of the robot from not being flat and lumps in the carpet, etc. Your driver will naturally compensate for these things, but the sensor just measures what's really happening.

Also note that the encoder is measuring the wheel rotations, which for mecanum wheels does not directly translate into distance = circumference * rotations. You will have to invert the mecanum control equations to make sense of the 4 wheel position channels.
  #6   Spotlight this post!  
Unread 17-01-2011, 10:15
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,561
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
Re: Integrating the Accelerometer

It would probably be easier to put encoders on two unpowered omni-wheels that are 90 degrees from each other.

Something similar to http://www.chiefdelphi.com/media/photos/32440
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


All times are GMT -5. The time now is 08:52.

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