-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Humble main compilation #5112
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
Humble main compilation #5112
Conversation
|
@coderwyvern, all pull requests must be targeted towards the |
|
@coderwyvern please rebase so I can see the changes now that your other PR is merged |
47c2e03 to
6189b92
Compare
Done! Please let me know in case of any issues. |
SteveMacenski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small changes, but generally looks good. Why is this so much more concise than #5017? It seems like there aren't packages that have their cmakelists updated for the older cmake style -- do all these other packages compile properly?
Does colcon test pass & run all the nav2_bringup launch files?
...pure_pursuit_controller/include/nav2_regulated_pure_pursuit_controller/parameter_handler.hpp
Outdated
Show resolved
Hide resolved
nav2_regulated_pure_pursuit_controller/src/parameter_handler.cpp
Outdated
Show resolved
Hide resolved
|
@SteveMacenski I've pushed the changes addressing your comments. I think it is much more concise because the linting stuff is separated. All colcon tests pass (provided we use ros2/launch#864) except for I tested again using the |
|
I have fixed the issues with However, I have an issue with I get the same error when I try to launch this on the main branch as well. I think it makes sense because localisation only mode cannot run without a map. What is the expected behaviour if |
|
The map is a required input. If you check in the Did you test using the GZ simulator? Humble uses Gazebo Classic and main uses modern Gazebo, I just want to make sure those sims work in Humble with Ignition-Gazebo which I think had different namespaces for its plugins, settings, etc with By the way, I'm not able to build this properly on Humble. I get the following errors locally: |
Understood, thanks.
Yes, I tested it using the modern gazebo. In my test env, I had gazebo harmonic installed and it worked fine. However, I need to make sure that this is also true in case of a fresh install since
I think I had got similar errors too. When I tried to rebuild on a clean docker without ANY nav2 package preinstalled in /opt/ros, the build passed. Please let me know if it works... |
25bf38d to
a63e72a
Compare
|
Hello, I built the whole thing on a clean docker image and your error got reproduced. I think it is because of slam toolbox being installed via rosdep. This installs some of the current nav2 packages through apt. During colcon build, it picks up the nav2 packages inside of When I remove the packages manually using Here is the Dockerfile I used. Line 31 in this Dockerfile is responsible for the successful build. docker-compose.yaml I used is below: Regarding the gazebo issues, I have changed everything from However, this requires Please let me know if the above Dockerfile works for you or if there are any further issues. |
|
Any issues with the behavior tree cpp version? I thought humble was still on v3 and we use v4 for jazzy/rolling and newer. I think we may want to use I'm building in a
We can use the I setup CI for humble if you pull in the latest for Humble so that CI should be able to turn over theoretically for this branch if everything works. |
|
So I got it to build, but I'm seeing alot of test failures when I do It looks like the system never fully initialized due to missing transforms from the simulator, I expect that the sim isn't working and maybe more needs to be updated to IGN or the files need more updating than previously suggested. I think its more that the system tests didn't have IGN update: (from the same test) |
|
Thanks a lot for your comments. I'll do a clean compile again and run the tests. Like you mentioned, I'm pretty sure these failing ones are due to the gazebo version since they were passing when I ran them with gazebo harmonic built on humble. I'll test them now and let you know |
|
OK! I tried what you updated with and still getting 19 failures, many of which are failing to produce results or for some reason is crashing I assume that's not actually the core issue, that's just a symptom (or maybe it is the core issue). |
|
Thanks a lot for trying it out 😄 I have similar error cases too when I run the tests. I will take a look at them first thing tomorrow. Can you please let me know if simply pulling the main branch into this branch will allow the pipelines to run properly for the PR? Will I need to make any other changes? |
|
I first synced up my fork with the latest main and then ran I don't think git is tracking those changes since this branch was branched off from |
|
Frankly for this branch, I'm not overly concerned about linting errors. Nicely Arguably, I would actually prefer if you didn't fix the linting so that the branch here is as close as humanly possible to Would 'just don't change it' solve the issue? :-) |
d1c06dd to
52f1634
Compare
|
Hello @SteveMacenski ! I pulled in the latest main and didn't care about the linting stuff when I did so like you mentioned. I also applied the commits you shared so that the CI would run correctly. However, there is a test in I added some logs and the output is below: I found a similar issue here : ros-navigation/navigation2_tutorials#77 It's weird that the service interface |
|
Okay, so it seems like the build passed properly on CI. There are a lot of failures on Or maybe, disable the linting specific jobs and specifically for colcon test on |
|
Merged, can you rebase / fix conflicts? |
|
This pull request is in conflict. Could you fix it @coderwyvern? |
767510a to
9f66c39
Compare
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
9f66c39 to
01bb1a3
Compare
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
|
@SteveMacenski I've rebased and the history is cleaner now.
Sure thing �� Excited for that hehe |
SteveMacenski
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my sanity checking an you confirm:
- You tested the TB3/4 launch files with IGN and loopback sim working
- Add in an eq to this workflow for
humble_mainso I can autobackport. I just created thebackport-humble-mainlabel
Otherwise LGTM!
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Yep! I retested the tb3 and tb4 loopback sim + ign gazebo launch files now and they seem to work. On a fresh container, on first startup, gazebo does wait to download the models I think but after that it's okay. I also tested the cloned and unique multi robot launch files again, they seem to work.
Done!
ros2/launch#871 will be preferred over my PR (ros2/launch#864) since that is more feature complete. It seems like it will be merged soon. I'll retest the launch files when that's merged and let you know. |
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
Signed-off-by: suchetanrs <suchetan.saravanan@gmail.com>
b3e3d78
into
ros-navigation:humble_main
|
Great! Thanks and merged now that the ROS 2 launch works! We should hopefully remember to remove from underlay once the binaries are out, but either way this is a good solution :-) Thanks so much for this time and effort, I think this will gain alot of use in the community. Want to announce it on ROS Discourse in the Nav2 category? :-) |
I know you made a few changes to the main branch to make it compatible with Jazzy but I don't have all the context here :p (I just know what I did for Humble and not the other distros). I'll leave the honours to announce it to the community to you! 😁 |
Basic Info
IMPORTANT To see the actual changes clearly that I made to compile main on humble, we will need to merge #5108 first. This branch's parent is the branch in #5108. The changes are on top of that.
Description of testing performed
Ran the navigate to pose action using the nav2 minimal tb4 sim. It worked fine.
No failing functional system tests other than the one my mate reported in #5111
Will test on the real robot on Monday.
Description of contribution in a few bullet points
Description of documentation updates required from your changes
Does not fix anything in tools, .github/workflows for "humble". So that is still pending. I am not sure how to go about doing this and what is actually necessary.
Description of how this change was tested
Future work that may be required in bullet points
For Maintainers: