|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: Automatic Differential/Motor Speed Compensation
Quote:
|
|
#2
|
|||
|
|||
|
Re: Automatic Differential/Motor Speed Compensation
I know reading the gyro doesn't take that long, the calibration routine takes 5 seconds on the 450 gyro. That is when using the WPI class.
When it drifts it really takes off. I reset the gyro at the very beginning, but if it is already drifting it will be off a few degrees in a matter of a few seconds. Ideally I would like to calibrate the gyro in my autonomous init. |
|
#3
|
||||
|
||||
|
Re: Automatic Differential/Motor Speed Compensation
Quote:
Also make sure you have all vibration sources (like the compressor) turned off when you calibrate. Or you could try this solution: http://www.chiefdelphi.com/forums/sh...9&postcount=13 http://www.chiefdelphi.com/forums/sh...8&postcount=17 |
|
#4
|
|||
|
|||
|
Re: Automatic Differential/Motor Speed Compensation
We used a gyro to drive straight, by taking into account the change in angle and a constant value (a constant much like a P-value in a PID loop).
|
|
#5
|
|||
|
|||
|
Re: Automatic Differential/Motor Speed Compensation
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|