ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It looks like the navigation2 repository is built against the latest ros2.repos every night (https://travis-ci.org/ros-planning/navigation2) so it "should always compile".

To know how to pull latest changes you can refer to the Maintaining-a-Source-Checkout documentation

Based on your use case several options are available:

Assuming you are using Ubuntu 18.04 or can run linux in docker:

  • In docker:

    • If you don't modify either ros2.repos not navigation code: use the navigation2 nightly docker image: rosplanning/navigation2:master
    • If you don't modify any code in ros2.repos but modify navigation2 code: use the nightly ros2 docker image osrf/ros2:nightly and build navigation2 and its dependencies from source
    • if you modify both ros2 and navigation2, you'll need to pull the changes from both and rebuild
  • Natively:

    • download the nightly ros2 archives (https://ci.ros2.org/view/packaging/job/packaging_linux/lastSuccessfulBuild/artifact/ws/ros2-package-linux-x86_64.tar.bz2)
    • build navigation2 dependencies https://raw.githubusercontent.com/ros-planning/navigation2/master/tools/ros2_dependencies.repos
    • build navigation2

I don't know the status of MacOS or Windows support but, if supported, something similar to the "natively" instructions above should work