Closed Teslafly closed 7 years ago
Please test this branch https://github.com/RollingGecko/VescUartControl/tree/VESC6 It has already the changes made on the interface. If it works I will merge it to the master.
Andy
Any Test results?
By updating to the new library, I get data from UART, but sending my joystick values does not seem to work. As in, I'm not actually sure they are sending, but the motors do not move in reaction either way. Is there a way to read these values on vesc-tool? I didn't make any changes to my code other than switching the library to VESC6.
Solved!There's a new packet header in the COMM section in VESC6. I just copied the enum in bldc/datatypes.h to your library.
Can you send me the file or make a pull request?
Already merged new datatypes.h. But tester required! Please check this: https://github.com/RollingGecko/VescUartControl/issues/15
fw 3.28 is out with the new vesc-tool and it breaks this library. I am going to try and debug it and if i get it working i'll mention it here, but it would be nice to have this working. right now it is returning messages of length 54, which i'm guessing is some default response considering you're checking for len >55, but haven't gotten as far as to reading the messages.