diff --git a/navigation2/docker_update_nav2_repos.sh b/navigation2/docker_update_nav2_repos.sh new file mode 100755 index 0000000..1977e4f --- /dev/null +++ b/navigation2/docker_update_nav2_repos.sh @@ -0,0 +1,8 @@ +#!/bin/bash +SPACE_ROS_IMAGE="${SPACE_ROS_IMAGE:-osrf/space-ros:latest}" + +docker run --rm \ + -v ./:/home/spaceros-user/mount/ \ + -w /home/spaceros-user/mount/ \ + $SPACE_ROS_IMAGE \ + bash -c './update_nav2_repos.sh' diff --git a/navigation2/excluded-pkgs.txt b/navigation2/excluded-pkgs.txt new file mode 100644 index 0000000..b6324ed --- /dev/null +++ b/navigation2/excluded-pkgs.txt @@ -0,0 +1 @@ +nav2_rviz_plugins \ No newline at end of file diff --git a/navigation2/navigation2-pkgs.txt b/navigation2/navigation2-pkgs.txt new file mode 100644 index 0000000..5cce6ac --- /dev/null +++ b/navigation2/navigation2-pkgs.txt @@ -0,0 +1 @@ +navigation2 \ No newline at end of file diff --git a/navigation2/update_nav2_repos.sh b/navigation2/update_nav2_repos.sh new file mode 100755 index 0000000..22468a5 --- /dev/null +++ b/navigation2/update_nav2_repos.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +source $SPACEROS_DIR/install/setup.bash +SCRIPT_PATH="$SPACEROS_DIR/scripts" +bash $SCRIPT_PATH/generate-repos.sh \ + --rosdistro $ROS_DISTRO \ + --packages navigation2-pkgs.txt \ + --excluded-packages excluded-pkgs.txt \ + --outfile navigation2.repos \ + --upstream false # this allows us to select specific sub-packages from a single repo