git clone --recurse-submodules -j8 git@github.com:kulkarni-raunak/nav2_ros_gz.git
touch .bash_history
rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y
Build Everything!! Takes about 30~40 mins!!
colcon build --symlink-install --packages-skip nav2_system_tests
Now you can only build the package that you made changes to and save time. i.e.,
colcon build --symlink-install --packages-select nav2_bringup
source /nav2_ros_gz/install/setup.bash
or just open another terminal tab (this WS is already sourced in the dev container's ~/.bashrc)
ros2 launch nav2_bringup tb3_gz_simulation_launch.py headless:=False
Follow migration of gazebos_ros_pkgs to ros_gz guide to tweak the packges dependent on gazebo_ros in nav2/navigation2 . Note: May not support Gazebo garden.