|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Controlling variance in drive train
We researched this. One solution is to make one side the master, and the other the slave.
You drive the master as you would normally, it's encoder output is the the PID target value for the slave. Then if the slave is running slower than the master, the PID ensures it speeds up, and vice versa. |
|
#2
|
||||
|
||||
|
Re: Controlling variance in drive train
I've been wondering how exactly this would be done with Mecanum wheels.
Quote:
|
|
#3
|
|||
|
|||
|
Re: Controlling variance in drive train
We are a rookie team and we are trying to use java to program our robot. We are noticing that in both auton and teleop, the robot is drifting. Several of you have mentioned using PID's and either encoders or gyros. Could someone post sample code of how to do any of the aforementioned solutions for a 6-wheel drive?
|
|
#4
|
||||
|
||||
|
Re: Controlling variance in drive train
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|