Create a donkey car part that will convert from a steering angle in degrees and a throttle value in m/s to a value that can be read by the UART bus on the STM32 interacting with the VESC motor controller.
Scaling values for steering angle and throttle are yet to be found. Both values must be within the range [128,255].
Create a donkey car part that will convert from a steering angle in degrees and a throttle value in m/s to a value that can be read by the UART bus on the STM32 interacting with the VESC motor controller.
Scaling values for steering angle and throttle are yet to be found. Both values must be within the range
[128,255]
.See the previous UART driver for more details as well as the STM32 firmware source for more details.