Go to Post We're 3 pounds over. Drill until the hole saw is too hot to touch, then go find something else to cut off while you wait for it to cool down. - Richard Wallace [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 18-01-2007, 11:34
Smoking_Gun Smoking_Gun is offline
Registered User
AKA: Tal
FRC #1943 (Neat-Team)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 11
Smoking_Gun is an unknown quantity at this point
4 encoders + mecanum wheels programing

Hi,
There are 2 things:

A) We want to connect 4 encoders to the RC this year and we wanted to know if it is legal and possible to do so, and if we can use the encoders from BaneBot (http://www.banebots.com/p/EN-G0561-KT). If we can, than how can we connect them (to where?) and how can we get each one to function without colliding one with the other?

B) Can someone direct us to how to program 4 mecanum wheels (http://andymark.biz/am-0083.html).

Thanks, Tal
Neat-Team #1943
  #2   Spotlight this post!  
Unread 18-01-2007, 12:21
dtengineering's Avatar
dtengineering dtengineering is offline
Teaching Teachers to Teach Tech
AKA: Jason Brett
no team (British Columbia FRC teams)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Vancouver, BC
Posts: 1,827
dtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond reputedtengineering has a reputation beyond repute
Re: 4 encoders + mecanum wheels programing

Hope your Andymark mecanums are arriving quicker than ours... we've been waiting over a week now. It seems like they are proving more popular than expected, and I know Andy is doing everything he can to get them shipped.

In the meanwhile, yes... you can use four encoders, and there are some excellent resources on programming mecanums... you may wish to also search for the web and CD forums for "meccanum" and "mechanum" when you do your searches, you will find different results for each search term.

There are some good resources in the CD white papers... one is called "strafing", http://www.chiefdelphi.com/media/papers/1836, and there are also some notes at http://www.usfirst.org/community/frc...t.aspx?id=1112 (which also has some other great presentations, too.)

As for the encoders, banebots sells a board that takes care of determining direction and also divides the data rate so that the encoders will be much easier to read.

If you search the CD forums, white papers and web you will find much more information, but hopefully this will point you to a couple of good starting points. Eventually, however, you will need to synthesize all this information to create your own control code. Make sure you let the build team give you plenty of practice time with a rolling chassis to get it working, and then for the drivers to get used to the unique opportunities presented by omni-directional drive.

Jason
  #3   Spotlight this post!  
Unread 18-01-2007, 13:41
Phalanx's Avatar
Phalanx Phalanx is offline
Formerly Team 1089 (Mercury)
AKA: Michael Reffler
FRC #5431 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 1999
Location: Lewisville, TX (previously NJ)
Posts: 384
Phalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond reputePhalanx has a reputation beyond repute
Re: 4 encoders + mecanum wheels programing

Quote:
Originally Posted by Smoking_Gun View Post
Hi,
A) We want to connect 4 encoders to the RC this year and we wanted to know if it is legal and possible to do so, and if we can use the encoders from BaneBot (http://www.banebots.com/p/EN-G0561-KT). If we can, than how can we connect them (to where?) and how can we get each one to function without colliding one with the other?
If the cost of the encoders from Banebots is less than $400, you can use them. You should read the rules over closely on COTS items.

As for using 4 encoders together, take a look at Kevin Watsons Encoder FAQ and sample code. It can work with up to 6 encoders. Of course you'll need to modify or customize it to meet your needs.
http://www.kevin.org/frc/encoder/
http://www.kevin.org/frc/frc_encoder.zip
__________________
Don't just ask the experts, become one!
Leadership is not about ability. It's about responsibility!
Diagonally Parked in a Parallel Universe. It's okay we do Quantum Physics


  #4   Spotlight this post!  
Unread 18-01-2007, 17:34
Smoking_Gun Smoking_Gun is offline
Registered User
AKA: Tal
FRC #1943 (Neat-Team)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: israel
Posts: 11
Smoking_Gun is an unknown quantity at this point
Re: 4 encoders + mecanum wheels programing

Quote:
Originally Posted by Phalanx View Post
If the cost of the encoders from Banebots is less than $400, you can use them. You should read the rules over closely on COTS items.

As for using 4 encoders together, take a look at Kevin Watsons Encoder FAQ and sample code. It can work with up to 6 encoders. Of course you'll need to modify or customize it to meet your needs.
http://www.kevin.org/frc/encoder/
http://www.kevin.org/frc/frc_encoder.zip
Thanks, I will check it.
  #5   Spotlight this post!  
Unread 18-01-2007, 23:43
TheOtherGuy's Avatar
TheOtherGuy TheOtherGuy is offline
Unregistered User
AKA: Kevin Forbes
FRC #4183 (Bit Buckets)
Team Role: Engineer
 
Join Date: Jul 2006
Rookie Year: 2006
Location: Tucson, AZ
Posts: 408
TheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond reputeTheOtherGuy has a reputation beyond repute
Re: 4 encoders + mecanum wheels programing

if you need code for the mecanum drive, check out this code written by artdutra04. I used this concept on a vex mecanum robot and it worked perfectly (kudos to artdutra for making the code, it is really useful)

good luck, mecanum drivetrains are really fun!
__________________
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
Friction coefficients for Omni wheels and Mecanum wheels from AndyMark Andy Baker Technical Discussion 11 16-12-2006 19:40
Mecanum Wheels chaolin2007 Control System 1 25-02-2006 19:16
Mecanum Wheels TheFerret Technical Discussion 8 16-01-2006 09:23
COTS Mecanum Wheels kmcclary Technical Discussion 1 10-01-2006 17:17
Improved Mecanum Wheels techtiger1 Technical Discussion 23 08-10-2005 01:02


All times are GMT -5. The time now is 10: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