BinghamtonRover / BurtOS-2

Base station/rover computer apps and libraries for the Binghamton University Rover Team
3 stars 0 forks source link

Add CAN commands to drive controller #21

Closed superdan-t closed 2 years ago

superdan-t commented 2 years ago

The new drive controller in src/subsystem/ has an update_motor_acceleration() function called every main loop. At the end of this method, the left_speed and right_speed should be applied to the motors (Currently, there is no acceleration rate limiter. The rate limiter will replace where it currently sets actual equal to target).

Some things to consider:

superdan-t commented 2 years ago

I just merged #22, so now the CAN controller is available in the main branch