-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Adding Nav2 / Open Navigation Docking #4406
Conversation
12073d0
to
6bed234
Compare
There's a weird issue where the docking smoke system test is failing by timing out with no logging in CI but I cannot reproduce locally. Working on it... sorry for testing in CI |
How do you keep your ros2 launch-based tests from conflicting with each other? (like, this test publishes and subscribes stuff - is it maybe conflicting with some other test that is running? Is there some magic in ros2 launch file tests that magically assigns different ROS_DOMAIN_IDs? I haven't built a huge set of ros2 launch tests yet to see what issues arise... |
The tests are run sequentially within a given package, but could be run in parallel w.r.t. other packages. In our CI settings, we have By the way, I found at least the first cause of the issue, the while loops are never exiting because the
I still cannot reproduce this locally but is apparently happening in Rolling on 24.04 or something peculiar in CI. I assumed at the start that may have been the issue (since it timed out rather than crashed or something), but I made sure it wasn't a regression in launch testing first - which are some of the fumbling commits you see above. I'm pretty sure now its either something we're doing or |
@mikeferguson in case you're curious about the outcome, basically I just swapped out all the done callbacks for the goal / result with spinning until complete and that resolved it. There seems to be some problem in spinning in Jazzy/Rolling I think, this isn't the first time I've seen something like this since working on the 24.04 migration. Putting all the action work inline and blocking seems to resolve the issue instead of using callback functions. Ex.
Now it all works as expected 95c547b |
39fc245
to
8208168
Compare
8208168
to
95c547b
Compare
* adding docking temp build test * add missing exmport * fix test * adding server to bringup * add docking server to Nav2 package; migrate to msgs package * migrate msgs * in line versions with rest of stack * removing docking msgs from main server cmake * fix bug * linting and logging * bump cache * fix tests with rclpy API action spinning * add full metapackage repos
* adding docking temp build test * add missing exmport * fix test * adding server to bringup * add docking server to Nav2 package; migrate to msgs package * migrate msgs * in line versions with rest of stack * removing docking msgs from main server cmake * fix bug * linting and logging * bump cache * fix tests with rclpy API action spinning * add full metapackage repos
* adding docking temp build test * add missing exmport * fix test * adding server to bringup * add docking server to Nav2 package; migrate to msgs package * migrate msgs * in line versions with rest of stack * removing docking msgs from main server cmake * fix bug * linting and logging * bump cache * fix tests with rclpy API action spinning * add full metapackage repos
* adding docking temp build test * add missing exmport * fix test * adding server to bringup * add docking server to Nav2 package; migrate to msgs package * migrate msgs * in line versions with rest of stack * removing docking msgs from main server cmake * fix bug * linting and logging * bump cache * fix tests with rclpy API action spinning * add full metapackage repos
Thanks to NVIDIA for their support to make this possible!
Original location: https://github.com/open-navigation/opennav_docking
Tutorials: https://docs.nav2.org/tutorials/docs/using_docking.html
Configuration: https://docs.nav2.org/configuration/packages/configuring-docking-server.html
Commander API: https://docs.nav2.org/commander_api/index.html
A few known enhancements that would be great to have over time: #4405 #4404 #4403