How to read COMM_ROTOR_POSITION through uart
Forums:
Hi,
I'm setting to up communication to teh VESC through an Arduino. Using SolidGeek's libraries, I have been able to send position control commands. What I need, is to read in the current position of the motor.
In order to set position, I modified the existing "setRPM" to make a "setPOS" command.
To set position, I naively tired to convert "getVescValues" to a "getVescPos", with the command value of "COMM_ROTOR_POSITION". But this does not seem to be recognized (payload size is zero).
- Read more about How to read COMM_ROTOR_POSITION through uart
- 2 comments
- Log in or register to post comments