-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Use MicroXRCEDDSGen Binaries instead of making users compile it from source #26811
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
Comments
Given microxrceddsgen is not yet available as a binary, I have a potential solution for making compilation easier:
With this new workflow, all users need to do is:
This approach seems to work with testing, would be happy to implement in a pull request if this seems reasonable. The shim package isn't strictly necessary either, but it provides an easy way to add the build tool to path without modifying the micro-xrce-dds-gen package itself. |
I tried colcon-gradle and it doesn't recognize the package. Excuse my ignorance, but can you show me how to get it to work?
|
@Ryanf55 It looks like you're running Also,
|
I tried both - colcon doesn't seem to recognize it as a package. |
Curious, are you on ROS Humble or ROS Jazzy? I am currently running Jazzy. |
Another note, I am having trouble building the upstream eProsima version but the ArduPilot fork does build fine (on Jazzy). Edit: ArduPilot fork of Micro-XRCE-DDS-Gen also builds on my Humble dev container Edit 2: I replicated the error you got when building from inside Micro-XRCE-DDS-Gen @Ryanf55 - what error do you get when building from the workspace? |
Do you know how we could automate that? It's still using the repo from my ~/.bashrc. |
So I've created a shim package that makes use of the CLASSPATH rather than a reference to a built jar.
Edit: Got the wrong URL first whoops |
Also, |
Not all ardupilot dependencies live in the package.xml. Many live here:
This is part of our setup instructions, so they are assumed to be available. |
Since python3-pexpect is listed in rosdistro, is there any harm in including it in the package.xml? I find that Ardupilot SITL builds when I do include it. |
No, that is helpful. Please feel free to contribute improvements. |
Uh oh!
There was an error while loading. Please reload this page.
Currently, users have to compile microxrceddsgen from source. When it updates, users have to remember to pull the code in 4.5 due to an ABI break just before release.
Once this tool is available as binaries in Humble, with the memory usage improvements, we can have users install this as a binary.
The current workflow is a burden for users.
The text was updated successfully, but these errors were encountered: