|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Averaging one side with Encoders or two wheeled drive?
So I was talking with the programmers, and being that we were doing six wheeled drive with 4 CIMS using 2 Victors, we figured we'd need 4 encoders. Now, my question is what would be the better approach?
1. One encoder on each shaft with only one channel wired. Then I'll direct the Encoder class towards the two Encoders on the same side and two for the other side. 2. Power only 2 motors for PID and have two fully wired Encoders on those shafts. EDIT This is for autonomous PID drive |
|
#2
|
|||||
|
|||||
|
Re: Averaging one side with Encoders or two wheeled drive?
You'd better fix that before you do anything more fancy. Each motor requires its own speed controller.
Are both motors on each side connected to the same gearbox? Are all the wheels driven by the same gearbox output? You only need one encoder per gearbox. |
|
#3
|
|||||
|
|||||
|
Re: Averaging one side with Encoders or two wheeled drive?
I believe that is a rule, correct?
|
|
#4
|
|||
|
|||
|
Re: Averaging one side with Encoders or two wheeled drive?
All motors are mounted onto on of two nanotubes by andymark, which has a uniform gear ratio. But I was told that not all motors were created equal, which is why I figured 4 Encoders would be better
And R50 is a bit vague in my opinion. Not entirely sure if its legal or not... |
|
#5
|
||||
|
||||
|
Re: Averaging one side with Encoders or two wheeled drive?
Quote:
|
|
#6
|
|||||
|
|||||
|
Re: Averaging one side with Encoders or two wheeled drive?
Quote:
|
|
#7
|
|||||
|
|||||
|
Re: Averaging one side with Encoders or two wheeled drive?
And if two motors are driving traction wheels on the same side of a robot, one can reasonably assume that they will be spinning the same speed...at least when driving straight or mostly straight. When one wheel is slipping more than another, it's not always easy to decide which one is the best wheel to use as a speed reference. I'd just use two encoders, connected to the section of the drivetrain having the wheels with the most weight on them.
|
|
#8
|
|||
|
|||
|
they aren't
they are just housed in the same gearbox |
|
#9
|
||||
|
||||
|
Re: Averaging one side with Encoders or two wheeled drive?
That's the definition of "mechanically geared together". The CIMple boxes in the kit have encoder shafts which are designed for the US Digital encoders which also happen to be in the kit. You only need two since you only have two output shafts. The encoder shaft is actually the same piece of metal as the output shaft, so you don't have to account for any gearing.
|
|
#10
|
||||
|
||||
|
Re: Averaging one side with Encoders or two wheeled drive?
Quote:
|
|
#11
|
|||
|
|||
|
Re: Averaging one side with Encoders or two wheeled drive?
You don't need 4 encoders. Limit your acceleration and as Alan already said, put the encoders on the heavier side of the robot. Should be fine.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|