Skip to content
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

Need to pin the Navigation2 version number for stability #142

Closed
mkhansenbot opened this issue Apr 14, 2024 · 7 comments · Fixed by #152
Closed

Need to pin the Navigation2 version number for stability #142

mkhansenbot opened this issue Apr 14, 2024 · 7 comments · Fixed by #152

Comments

@mkhansenbot
Copy link
Contributor

Issue #140 is now fixed but in order to prevent future breakage, we should pin the version number for Navigation2 to a known good version, the same way we do with other repos.

@xfiderek
Copy link
Contributor

xfiderek commented Apr 14, 2024

Hi @mkhansenbot , I've noticed the same and have just kicked off the discussion to fix it for good in robust way, while making it consistent with build process of spaceros base image: space-ros/space-ros#148

@xfiderek
Copy link
Contributor

See discussion space-ros/space-ros#140 and issue space-ros/space-ros#107 for more context
TODOs

  • Use a new generate_repos.sh file from updated spaceros dev image and generate pinned .repos file
  • Move the docker image to stacks repo
  • Decide if we want to push this image to dockerhub

xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Jul 9, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Jul 9, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Jul 9, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Jul 9, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Jul 9, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Jul 9, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Jul 9, 2024
@Bckempa
Copy link
Contributor

Bckempa commented Jul 31, 2024

Descoped from release due to PR in draft state

@Bckempa Bckempa removed this from the humble-2024.07.0 milestone Jul 31, 2024
@asimonov
Copy link

asimonov commented Aug 8, 2024

May I ask what is the version of nav2 we would like to pin?

I am currently trying to create a version of this nav2 docker for my use. I thought jazzy version of nav2 (released few weeks back) would be a great idea to try... Looks like it is not.

what I tried:

  • take our current humble space-ros base image
  • clone nav2/jazzy
  • play around with nav2 dependencies - try jazzy, but switch to humble if it does not work
  • make sure no ros-* apt packages get into the build, so manually remove everything related to gazebo, rviz, slam_toolbox and few others
  • getting to nav2 colcon build

The nav2 build is failing due to core ros2 package versions incompatibilities. For example:

--- stderr: nav2_util                               
In file included from /home/spaceros-user/nav2_ws/src/navigation2/nav2_util/src/base_footprint_publisher.cpp:17:
/home/spaceros-user/nav2_ws/src/navigation2/nav2_util/src/base_footprint_publisher.hpp:57:8: error: ‘void nav2_util::BaseFootprintPublisherListener::subscription_callback(tf2_msgs::msg::TFMessage_<std::allocator<void> >::ConstSharedPtr, bool)’ marked ‘override’, but does not override
   57 |   void subscription_callback(tf2_msgs::msg::TFMessage::ConstSharedPtr msg, bool is_static) override
      |        ^~~~~~~~~~~~~~~~~~~~~
/home/spaceros-user/nav2_ws/src/navigation2/nav2_util/src/base_footprint_publisher.hpp: In member function ‘void nav2_util::BaseFootprintPublisherListener::subscription_callback(tf2_msgs::msg::TFMessage_<std::allocator<void> >::ConstSharedPtr, bool)’:
/home/spaceros-user/nav2_ws/src/navigation2/nav2_util/src/base_footprint_publisher.hpp:59:45: error: ‘void tf2_ros::TransformListener::subscription_callback(tf2_msgs::msg::TFMessage_<std::allocator<void> >::ConstSharedPtr, bool)’ is private within this context
   59 |     TransformListener::subscription_callback(msg, is_static);
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from /home/spaceros-user/nav2_ws/src/navigation2/nav2_util/src/base_footprint_publisher.hpp:25,
                 from /home/spaceros-user/nav2_ws/src/navigation2/nav2_util/src/base_footprint_publisher.cpp:17:
/opt/spaceros/install/tf2_ros/include/tf2_ros/tf2_ros/transform_listener.h:158:8: note: declared private here
  158 |   void subscription_callback(tf2_msgs::msg::TFMessage::ConstSharedPtr msg, bool is_static);
      |        ^~~~~~~~~~~~~~~~~~~~~
gmake[2]: *** [src/CMakeFiles/base_footprint_publisher.dir/build.make:76: src/CMakeFiles/base_footprint_publisher.dir/base_footprint_publisher.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:208: src/CMakeFiles/base_footprint_publisher.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

i thought i could hack around, but with issues like these I do not think it is possible to jump to jazzy nav2 without moving space-ros to jazzy. FYI nav2 humble is ~650 commits behind jazzy.

we can pin nav2 repo to humble for now?

xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
…s#142).

This package will be used instead of nav2_bringup for launching to remove heavy dependency on packages like rviz2.
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
Now nav2 package versions can be updated with `./docker_update_nav2_repos.sh` script.
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
Repos are updated to newest versions for humble distro
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
Remove nav2_deps_ws and simplify build process
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 15, 2024
space-ros#142).

Describe the image content, repo update procedure and how to facilitate script for custom scenarios
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 16, 2024
Remove nav2_deps_ws and simplify build process
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Aug 16, 2024
space-ros#142).

Describe the image content, repo update procedure and how to facilitate script for custom scenarios
@EzraBrooks EzraBrooks added this to the jazzy-2024.10.0 milestone Aug 22, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Oct 2, 2024
…s#142).

This package will be used instead of nav2_bringup for launching to remove heavy dependency on packages like rviz2.
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Oct 2, 2024
Now nav2 package versions can be updated with `./docker_update_nav2_repos.sh` script.
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Oct 2, 2024
Repos are updated to newest versions for humble distro
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Oct 2, 2024
Remove nav2_deps_ws and simplify build process
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Oct 2, 2024
space-ros#142).

Describe the image content, repo update procedure and how to facilitate script for custom scenarios
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Oct 2, 2024
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Oct 2, 2024
space-ros#142).

Described the image content, repo update procedure and how to facilitate script for custom scenarios
xfiderek added a commit to xfiderek/spaceros-docker that referenced this issue Oct 2, 2024
eholum added a commit that referenced this issue Oct 22, 2024
Pin navigation2 repos and simplify docker build (#142).
@Bckempa Bckempa linked a pull request Oct 31, 2024 that will close this issue
@Bckempa Bckempa moved this from In Review to Done in Space ROS Project Development Oct 31, 2024
@Bckempa
Copy link
Contributor

Bckempa commented Oct 31, 2024

This seems to have been addressed by #152, are we good to close @xfiderek, @eholum?

@xfiderek
Copy link
Contributor

Yes, its done

@asimonov
Copy link

asimonov commented Oct 31, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

6 participants