From d60bb3ae889d3617a7a408ae78765e472eda7af9 Mon Sep 17 00:00:00 2001 From: Zhengxiao Han <60451384+0nhc@users.noreply.github.com> Date: Thu, 9 Jan 2025 04:28:49 -0600 Subject: [PATCH] Correct Ubuntu version for ROS Jazzy (#762) --- scripts/create_agent_ws.sh | 2 +- scripts/create_firmware_ws.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/create_agent_ws.sh b/scripts/create_agent_ws.sh index 400d953e..2359467b 100755 --- a/scripts/create_agent_ws.sh +++ b/scripts/create_agent_ws.sh @@ -23,4 +23,4 @@ fi # populate the workspace ros2 run micro_ros_setup create_ws.sh $TARGETDIR $PREFIX/config/agent_ros2_packages.txt $PREFIX/config/agent_uros_packages.repos -rosdep install --os=ubuntu:jammy --from-paths $TARGETDIR -i $TARGETDIR -y --skip-keys="$SKIP" +rosdep install --os=ubuntu:noble --from-paths $TARGETDIR -i $TARGETDIR -y --skip-keys="$SKIP" diff --git a/scripts/create_firmware_ws.sh b/scripts/create_firmware_ws.sh index 0745c06f..59cc5c5e 100755 --- a/scripts/create_firmware_ws.sh +++ b/scripts/create_firmware_ws.sh @@ -89,7 +89,7 @@ pushd $FW_TARGETDIR >/dev/null if [ $RTOS != "host" ]; then ros2 run micro_ros_setup create_ws.sh $DEV_WS_DIR $PREFIX/config/$RTOS/dev_ros2_packages.txt \ $PREFIX/config/$RTOS/dev_uros_packages.repos - rosdep install --os=ubuntu:jammy -y --from-paths $DEV_WS_DIR -i $DEV_WS_DIR --rosdistro $ROS_DISTRO --skip-keys="$SKIP" + rosdep install --os=ubuntu:noble -y --from-paths $DEV_WS_DIR -i $DEV_WS_DIR --rosdistro $ROS_DISTRO --skip-keys="$SKIP" # Creating mcu directory mkdir mcu_ws @@ -110,7 +110,7 @@ if [ $RTOS != "host" ]; then fi # Install dependecies for specific platform -rosdep install --os=ubuntu:jammy -y --from-paths $PREFIX/config/$RTOS/$TARGET_FOLDER -i $PREFIX/config/$RTOS/$TARGET_FOLDER --rosdistro $ROS_DISTRO --skip-keys="$SKIP" +rosdep install --os=ubuntu:noble -y --from-paths $PREFIX/config/$RTOS/$TARGET_FOLDER -i $PREFIX/config/$RTOS/$TARGET_FOLDER --rosdistro $ROS_DISTRO --skip-keys="$SKIP" # Creating specific firmware folder . $PREFIX/config/$RTOS/$TARGET_FOLDER/create.sh