-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(Minor) datatypes.h changed with new VESC hardware #11
Comments
Thanks! |
@jendrikjoe Legend!! Thank you!! |
Is this why one get all kind of strange values on the sensor/core topic? I also get error dutycycle out of range |
Happy to be of help! |
@jendrikjoe thanks! I am using this package https://github.com/roaldlemmens/morph_hw |
@raess1 you probably have to change the interface to the VESC, but I don't know where this happens in the project :) |
@jendrikjoe It didn't solve the problem. After updating the VESC to FW 3.33 the from 2.18 the driver does not work anymore. Looking at the sensor/core topic they are all messed up. So the Bytes in vesc_packet.cpp should be changes. Anyone got ides which bytes belongs to which? |
Edit (my problem solved with) Remapping of bytes in |
@raess1 Haven't you changed vesc_packet.h ? |
@jendrikjoe Thanks for posting this fix! 👍 Did you need to make any changes to the configuration files at hardware/vesc? I compared the XML files of the default configuration setup by the firmware 3.40 (latest VESC firmware uploaded via the VESC Tool) and the configuration used by mit-racecar. There are some new XML tags. Eg. |
Hey @subodh-malgonde, sorry for the long silence. I am currently not up-to-date with this project. (No time to tinker with my racecar :( ) Jendrik |
Thanks for getting back! I used only some parameters from the configurations files at hardware/vesc like min/max current etc. I let the VESC Tool detect parameters for the motor (I used the FOC mode). It works well. |
Jendrik, thanks so much for your comment above, this got my project working! For anyone else that is struggling with this, this is the CAN command typedef you want to comment out:
|
Has anyone tried running on Firmware 3.57 or above? |
yes, works fine for me |
I'm having issues where the servo control isn't working and when putting the vehicle in drive or reverse the wheels jump on and off. When I run the test in vesc-tool it runs smoothly though. I've tried tweaking the configurations but that's not making any difference. |
PLEASE HELP!!! I am facing the same issue of Out-of-sync error. I'm working on designing a fleet of F1/10 cars for my project. The first two cars were designed using the FOCBox and VESC 6 MKII. These cars are running perfectly fine. The 3rd, 4th and 5th car are designed using the VESC 6+. These 3 cars have given me trouble with the Out-of-sync error. I tried numerous alternatives to get rid of the error but none of them worked. The company changing the version of the VESCs pretty fast has also been a matter of concern but using VESC 6+ for the remaining cars is the only option I have with me now. P.S
Any help would be appreciated. Thank you. |
…ial_comunication resolved inbound serial comunication problems
Dear MIT-Team,
first of all thanks for the great repo.
I am currently working with it to build a racecar on my own.
During that process my servo output was not working.
I figured, that with the new firmwares the datatypes.h changed and as well the command byte for the servo command.
Just as a heads up for everyone trying to do the same thing I do, replacing the datatypes.h with the new one from https://github.com/vedderb/bldc/blob/master/datatypes.h and commenting out the #include "ch.h" and the CAN command typedef, as done here: https://github.com/RollingGecko/VescUartControl/blob/master/datatypes.h solves the issue :)
Cheers,
Jendrik
The text was updated successfully, but these errors were encountered: