Closed andrewgazelka closed 6 years ago
On herschel, one side still uses a quadrature encoder, whilst the other uses CTRE mag encoders. I do not remember which, but you can take a peek when the robot bottom is visible while it is on the cart.
As of a ~week ago both now use CTRE mag encoders :)
This needs to work soon for pure pursuit since voltage ratios != wheel speed ratios
, and pure pursuit relies on these ratios to function.
Update: @MDW01 thinks he inverted the right talons, but it seems like both sides are now inverted. Can some programmer verify this?
Fixed after @MDW01 changed some things w/ electronics.
PID tuning does not work for left drive train motors (it does for right). This is almost surely because the left talons are reversed. Even when the left motors are set to inverted, the proportional error still grows when getting closer and closer to the target velocity. This makes it seem like talon is thinking the motor is getting further (going in the opposite direction) from desired when actually getting closer.