SolidGeek / VescUart

An Arduino library for interfacing with the VESC over UART
GNU General Public License v3.0
177 stars 92 forks source link

Control the direction #62

Open ruielias opened 3 months ago

ruielias commented 3 months ago

Hi, I'm using VescUart with ESP32, and I need to control the direction. it's possible? How do I do? Thanks

Snare295 commented 1 month ago

Hello, you can control direction just by using negative values in setCurrent, setRPM, and setDuty functions of lib. On nunchaks structure there is strange control that will start slow reverse with duty 5% on end of joystick or -255 Y value. Will be happy if that helps