I just started using Vesc tool few days ago, and I would like to drive the motor in both senses with same duty cycle CAN frame, so for a 0 payload frame I would like a "-1" duty cycle.
I tried to re-load a custom firmware after modifing the code line in "comm_can":
buffer_append_int32(buffer, (int32_t)(duty * 100000.0), &send_index);
by: buffer_append_int32(buffer, (int32_t)((duty+1) * 50000.0), &send_index);
After loading the firmware, I get a message mentioning that I need to update my vesc tool version because the used firmware is newer than it (which is not the case because I downloaded the latest version from website), so I couldn't do motor identification, and the modifications of the function implemented do not seem to be taken into account.
If someone could clarify me a bit on the problem, I would be very grateful.
Thank you :)
(I have a hardware version 60 and I did also defined it on conf_general.h "#define HW_VERSION_60")