UHSRobotics / FRC-2020

UHS Robotics, Team 7721's code for the 2020 season
GNU General Public License v3.0
0 stars 1 forks source link

Weird issue with drive #9

Closed Ynng closed 4 years ago

Ynng commented 4 years ago

Quickly moving the power joystick from rest to max would result in the drive train jittering back and forth.

Edge7481 commented 4 years ago

Is this manual drive?

Ynng commented 4 years ago

yes it's a problem with manual drive

Ynng commented 4 years ago

Found the cause: When accelerating from rest to full speed very fast, the voltage of the robot drops significantly, to around 8Volt, sometimes, this will result in the motors stopping. The motors of the drivetrain are set on brake mode for better control, this combined with the above causes the motors to suddenly lock up for short periods of time when accelerating, resulting in the jumpy movements.

This is likely not a programming problem.

This problem can be solved by reducing the speed multiplier of the drive train, which will decreade the voltage drop, fixing the problem. 60% speed multiplier is stable.