Open mr-fish77 opened 4 years ago
Hello, could you find a workaorund for this problem or it still exists? I haven't tested it yet because I don't have a ST-Link if my VESC becomes bricked. Thanks!
Hi !
Yes, I did a fork of Peemouse lib, with an update of the setLocalProfile() to work around this problem (https://github.com/mr-fish77/VescUart ). For me, it now seems to work very well. But if I were you I firstly bought an ST-Link before playing with it, just in case something goes wrong.
Good luck ^^
Thanks for this! I will try it within the next days, the ST-Link is ready^^
Thanks for the lib,this works great! One thing I have noticed is that my controller reboots random if I disconnect the esc. The problem occurs due to vibrations with disconnected cables during the drive. I am using a esp32 debit v1. Do you have a solution for this? Thanks!
Hello,
I'have try to use the
setLocalProfile
method from your library. But in my case, it is not working. When I send the data, the VESC reboots or it becomes bricked.I may be wrong, but it seems to me that the issues are coming from the method used to send float32 over the UART port. In your library, you're using the
buffer_append_float32
method whereas the Vesc firmware is waiting for floats formatted withbuffer_append_float32_auto
Does the method was working on your side?
( I'm working on 4.2 Vesc from Flipsky with the 5.1 FW and an Arduino Micro. )
Thanks !