Go to Post This is probably one of the most important robots in FRC history and it never even was in an official event. - gyroscopeRaptor [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-01-2014, 11:59
Just_In_Time Just_In_Time is offline
Registered User
no team
 
Join Date: Jul 2012
Rookie Year: 2010
Location: United States
Posts: 18
Just_In_Time is an unknown quantity at this point
[FTC]: 2 vs 4 Tetrix Motor Encoders?

Hello. My team is using motor encoders for the first time this year, and we're unsure about how many we will need. We currently have a 4-motor drive train with each motor separately powering each of the 4 wheels of our drive train. We were wondering if we need to use 4 motor encoders for it to work properly, or is there a way to only use 2 by putting one motor encoder on each side of the drive train? Any help is greatly appreciated. Thanks.

JIT
Reply With Quote
  #2   Spotlight this post!  
Unread 20-01-2014, 12:54
FTC4211's Avatar
FTC4211 FTC4211 is offline
Registered User
AKA: John Stegeman
FTC #4211 (The Bombers)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2010
Location: Missouri
Posts: 11
FTC4211 is an unknown quantity at this point
Re: [FTC]: 2 vs 4 Tetrix Motor Encoders?

Your options depend partially on how you have the motors wired into the motor controllers. If you have both motors from one side of the drive going into the same motor port on the motor controller then you have to use only one encoder per side of the robot. If each drive motor has its own motor port then you can use either two or four encoders.

More broadly most teams can use only two encoders and be perfectly fine. When driving in a straight line where wheel slippage is minimal, two encoders work just as well as four encoders. The only spot you may see a difference is during turning. With four encoders you have the option to check for and account for potential wheel slippage, but requires much more software to actually achieve significantly noticeable advantages over only two encoders.

My suggestion would be to start with only two encoders, placed on the wheels with the most traction (tetrix rubber wheel before an omni wheel, or the wheels with the most weight over them) as this will provide the best representation of the overall drive train with only the two encoders. Fewer encoders means less software, and one less thing to fail. If the two encoders are not providing the accuracy that you looking for, then add the other two encoders. Generally the less there is to worry about the more reliable it is.

Team 4211
Reply With Quote
  #3   Spotlight this post!  
Unread 20-01-2014, 13:07
maths222 maths222 is offline
FTC FTA
AKA: Jacob Burroughs
no team
 
Join Date: Nov 2011
Rookie Year: 2010
Location: United States
Posts: 148
maths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to beholdmaths222 is a splendid one to behold
Re: [FTC]: 2 vs 4 Tetrix Motor Encoders?

One other reason to use 4 is that 4 allows for PID to be enabled in autonomous. I find that that makes autonomous routines much more repeatable.
__________________
--Jacob
Illinois FTC FTA
Reply With Quote
  #4   Spotlight this post!  
Unread 21-01-2014, 01:12
Just_In_Time Just_In_Time is offline
Registered User
no team
 
Join Date: Jul 2012
Rookie Year: 2010
Location: United States
Posts: 18
Just_In_Time is an unknown quantity at this point
Re: [FTC]: 2 vs 4 Tetrix Motor Encoders?

Thank you all very much for your help. 4 seems like it will work better in the end for improved accuracy. Thanks again.

JIT
Reply With Quote
  #5   Spotlight this post!  
Unread 21-01-2014, 14:45
Sasha Sasha is offline
Registered User
AKA: Alexander Kirillov
FTC #4137 (IslandBots)
Team Role: Coach
 
Join Date: Sep 2010
Rookie Year: 2008
Location: Long Island, NY
Posts: 58
Sasha is just really niceSasha is just really niceSasha is just really niceSasha is just really niceSasha is just really nice
Re: [FTC]: 2 vs 4 Tetrix Motor Encoders?

We are actually using just 1 encoder (and a gyro and IR sensors) - and it works fine for us, too. Robot motion is accurate to within 1 inch.
Reply With Quote
  #6   Spotlight this post!  
Unread 26-01-2014, 03:02
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: [FTC]: 2 vs 4 Tetrix Motor Encoders?

It also depends on what kind of wheels you have. If you are using mecanum wheels, you need all 4 encoders to figure out x and y displacements. If your robot can only go forward and backward but not sideways, then 2 are probably just fine. Our robot is 4-wheel swerve drive each with an independent motor and encoder. So our code can keep track of both x and y displacements.
__________________
Reply With Quote
Reply


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 18:24.

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