Open OM-3kChcBjgFR2COfP opened 5 months ago
Hi,
The speed and steering values are -signed- integers. If you send a negative value (say -100) the wheel will turn backwards.
-John-
On Sun, 23 Jun 2024 at 00:05, OM-3kChcBjgFR2COfP @.***> wrote:
Variant
USART Control type
FOC Control mode
Torque Description
How i can change all weels direction in variant usart?
— Reply to this email directly, view it on GitHub https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/498, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACRO2WIM2O6TQ55BGJ5IIL3ZIWHCDAVCNFSM6AAAAABJXQDZTCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DOOBWGY2TQNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
yea, i know about this 😅. But i think it's little wrong drive forward when press back direction. is it possible to change direction with software way?
copy this line to the USART variant you are currently using and try https://github.com/EFeru/hoverboard-firmware-hack-FOC/blob/efb438bf514c9f8c80471f79ab87d2f7099746ea/Inc/config.h#L594
easy just *-1
copy this line to the USART variant you are currently using and try
ok, will try it
easy just *-1
where *-1 ? I whant change weels direction, not a driving logic, i can change varible on RC controller, but rover still drive backward
copy this line to the USART variant you are currently using and try https://github.com/EFeru/hoverboard-firmware-hack-FOC/blob/efb438bf514c9f8c80471f79ab87d2f7099746ea/Inc/config.h#L594
ok, will try it
did it work?
Variant
USART
Control type
FOC
Control mode
Torque
Description
How i can change all weels direction in variant usart?