uwrobotics / MarsRover2019-firmware

Firmware for UWRT Mars Rover 2019
1 stars 11 forks source link

Arm & Science: Implement motor ramping #35

Open jetkov opened 5 years ago

jetkov commented 5 years ago

In order to avoid high inrush current when motors are spun up PWM duty cycle ramping needs to be implemented.

Ramping should happen when a motor speed is requested that is significantly different than the current motor speed, if the current speed is near zero. The values of these ranges and the rate of the ramp need to be characterized.

A few guesses to this: