Motor Folder
components/driving_board/motor
BLDC Motors:
They are used to control the speed of the rover.
bldc.c contains:
The set_bldc_pwm() method. This methods scales the control signal value calculated from control code and adjust the pwm duty cycle outputted by the STM32 accordingly.
->link to main thread
Stepper Motors:
stepper.c contains:
stepper.c
set_stepper_pwm() method. This methods scales the control signal value calculated from control code and adjust the pwm
->link to main thread
Encoders:
read_encoder.c contains:
The read encoders() method.
->link to main thread