-
Notifications
You must be signed in to change notification settings - Fork 37
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
CAN Bus Communication for Multiple VESCs #104
Comments
I am also using also ros2 humble.Can you suggest me i have 3 vesc and i have to run it on canbus so what changes or includation i have to do ?? |
I've done some experimentation and worked out a way to use To enable CAN communication, I had to structure VESC packets in the format required to forward them. Once I figured out how to format them, the rest was choosing how to integrate that with the other ROS components. My Technical Changes in Brief Example VESC packet. Example code using
I don't know if this kind of functionality is in the scope of this repository but I hope it helps others to understand VESC packet forwarding better. |
Abstract
I want to expose vesc hw interfaces to ROS for one master VESC and 'n' other VESCs connected via CAN bus. Do you have any suggestions for how I might start this?
Purpose
To expose vesc hw interfaces in ROS for multiple vesc devices where only one is connected to the host PC via USB and the rest are connected to that vesc over CAN bus. This allows multiple vescs to be used without needing each one to be plugged in via USB to the host PC.
Implementation Details
I am using ROS Humble and Ubuntu 22.04.
The text was updated successfully, but these errors were encountered: