|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Encoders on Drive Motors?
Quote:
|
|
#2
|
||||
|
||||
|
Re: Encoders on Drive Motors?
Quote:
Try swapping parts side-to-side until the problem changes sides. Motors, gearboxes, motor controllers, wheels, you get the idea. Start with the easiest parts and work your way down the list. |
|
#3
|
|||
|
|||
|
Re: Encoders on Drive Motors?
Put it on blocks and see if you can determine if any of the wheels rotate less well then others.
Determine if the frame is warped. With it on blocks, mark the wheels and set the speed controllers to the same value and do a visual encoder to see if it is the drive wheels or speed controllers that are doing it. Is it only at high speeds, or all the time? To add encoders, there is at least one example that will get you started, and if nothing else, it will help with diagnosis and measurement of the difference between sides. To find the example, you can do it from the Getting Started window/Support, or you can go to the Help menu/Find Examples and look in the FRC/Robot and Motor section. Greg McKaskle |
|
#4
|
|||||
|
|||||
|
Re: Encoders on Drive Motors?
A six-wheel drive base will tend to go in whatever direction the frame wants it to when the motors are driven with approximately the same power. I'd definitely look for warping or binding somewhere.
However, I'd also double-check the software to make sure the speed controllers being defined in the code match the ones physically installed. If you're using Talons, you must select Talon from the menu at the bottom of the Open 2 Motor Drive function. If you use (e.g.) Victors while telling the software you're using Jaguars, you'll get asymmetry in motor speeds. |
|
#5
|
|||
|
|||
|
Re: Encoders on Drive Motors?
It may also be useful to calibrate the speed controllers. New ones shouldn't need this, but older repurposed ones may have different calibrations.
Greg McKaskle |
|
#6
|
|||
|
|||
|
Re: Encoders on Drive Motors?
Thanks for the help! I'll try debugging it tomorrow.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|