-
Notifications
You must be signed in to change notification settings - Fork 107
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
change: allow to build in galactic #2
base: main
Are you sure you want to change the base?
Conversation
I tried the following "minimal build" on a Ubuntu 22.04 machine with only ROS2 Humble installed:
It produced a lot of strange errors. Adding "rclcpp_lifecycle" to dependencies in CMakefile didn't help. Any ideas? Thanks!
|
I merged all necessary code from https://github.com/Buzzology/diffdrive_arduino and copied some snippets from code generated for Humble using this method: https://rtw.stoglrobotics.de/master/tutorials/quick-start.html#clone-and-source-the-rosteamworkspace Compiles fine on Humble, not tested yet. My final version is here: https://github.com/slgrobotics/diffdrive_arduino
|
Nice, was there anything missing in the galactic MR of mine or just more changes between Galactic and Humble? Took me a while to do the Foxy -> Galactic migration on everything else so I've been holding off on Humble until I really need it. |
@Buzzology - Chris, sorry, I don't have previous ROS releases installed anywhere, only Humble. But if you have a Galactic machine, "compilability" of my changes is easy to check in five minutes - just do the following:
I am pretty sure though that read() and write() signatures did change between your and my code. And I haven't done any testing yet, that might be another can of worms. |
Thanks for the info Sergei! |
@slgrobotics I was trying to develop the same on humble and ubuntu 22.04 and I ran into these issues In file included from /usr/include/boost/bind.hpp:30,
|
Hey @SAMPATHONROS , I'm not sure which repo you copied but I ended up upgrading to Humble and 22.04 last week. I ended up using a mixture of Sergei's code and my original Galactic upgrade and it seems to be working okay so far. I added the changes to a |
Please make sure you have these prerequisites installed:
|
Hey Josh,
Thanks for all your tutorials, they've been really good. I am currently trying to use CommanderAPI and had to upgrade to Galactic. I ran into a few compatibility issues and have attempted to fix it. It's now building on my end but I won't be able to test it properly until I've fixed the remaining issues in the rest of my code.
First time ever using C++ so probably needs a bit of tidying up/fixing. Hopefully it's able to help anyone else hitting the same problem to at least get started.
I mostly followed what was in these links:
Update: Just wanted to add that I've now got everything else working and this seems to be working for me. Feel free to ping me if you have any issues (or if I've missed checking in any files).