-
Notifications
You must be signed in to change notification settings - Fork 40
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
Testing package with ROS 2 Humble and Ubuntu 22.04 #1
Comments
We're happy to take contributions! We don't currently have the capacity to test ourselves on multiple ROS version, but if you say that it works for you, and it doesn't break Iron, then that's cool. |
Of course, you can and should contribute with all your findings, one of the things you share will help another person, just like some of the things that we look for from someone else help to us. |
Here's the run-down:
Easiest option, as it's only a small change, would be to add a Alternate ROS Distro Support section to the README, that specifies changes needed to get the package running on different distros. I tested the package with the ODrive S1, and was able to get the cyclical data off it as well as could give it movement commands. |
@Supernova1114 i am trying to get it to build on 22.04 as well. Can you confirm that all you did was remove the “, srv_qos” from the end of line 44? I am still running into a build error so I thought I would ask. |
@anthonywebb Do you want to share the build output? I may be able to help. |
Specifically the error is
|
It looks like there are 7 or 8 references to “Len” that are failing. Everything else looks good. |
I should probably mention I am on a jetson nano, in docker for my Isaac ROS setup @Supernova1114 |
From some quick research, the can_frame struct in the code is from the It's possible that the kernel is not up to date. See if you can replace You should also check the linux/can.h to see what that struct looks like. |
@Supernova1114 thanks for the tip. Updates and upgrades of both the host machine and the docker image had no effect, but replaced all instances of |
I did the above, replacing frame.Len with frame.can_dlc. Everything built just fine. |
Ok after merging #4 and adding the proposed
Looks like Isaac ROS is currently based on ROS2 Humble + Ubuntu 20.04 (source), so based on your comments it sounds like that works too with these changes. |
Hello ODrive team,
I am currently in the process of testing out this ROS package as I am working on a project. I noticed on the docs you mentioned developing and testing this package on ROS 2 Iron and Ubuntu 23.04.
I am currently using ROS 2 Humble with Ubuntu 22.04, with an ODrive S1.
It only required one line get it to build and a few slight changes in ROS commands, and then I successfully ran the ODrive over CAN. Was wondering if I could contribute my findings in order for this package to get official Humble support?
The text was updated successfully, but these errors were encountered: