From 53555e91bbc531afc3741bd28000a5979149aa81 Mon Sep 17 00:00:00 2001 From: AngryTurtle2 <69176936+AngryTurtle2@users.noreply.github.com> Date: Fri, 14 Jun 2024 10:23:46 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0docker=E5=AE=89?= =?UTF-8?q?=E8=A3=85jazzy=E6=BA=90=E3=80=82=E5=B9=B6=E4=B8=94=E5=9C=A8?= =?UTF-8?q?=E5=AE=89=E8=A3=85ROS=E7=89=88=E6=9C=AC=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E4=B8=AD=E6=98=BE=E7=A4=BA=E6=98=AFROS1=E8=BF=98=E6=98=AFROS2?= =?UTF-8?q?=20(#59)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tools/tool_install_ros_with_docker.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/tool_install_ros_with_docker.py b/tools/tool_install_ros_with_docker.py index aa3b5f8..5d01ad9 100644 --- a/tools/tool_install_ros_with_docker.py +++ b/tools/tool_install_ros_with_docker.py @@ -16,7 +16,8 @@ def __init__(self,name,version,status,images=[],arm_images=[]): class RosVersions: - ros_version = [ + ros_version = [ + RosVersion('jazzy', 'ROS2', RosVersion.STATUS_LTS, ['osrf/ros:jazzy-desktop-full'],["ros:jazzy"]), RosVersion('noetic', 'ROS1', RosVersion.STATUS_LTS, ['fishros2/ros:noetic-desktop-full'],["ros:noetic"]), RosVersion('humble', 'ROS2', RosVersion.STATUS_LTS, ['fishros2/ros:humble-desktop-full'],["ros:humble"]), RosVersion('foxy', 'ROS2', RosVersion.STATUS_LTS, ['fishros2/ros:foxy-desktop'],["ros:foxy"]), @@ -78,7 +79,7 @@ def get_vesion_list(): """获取可安装的ROS版本列表""" names = [] for version in RosVersions.ros_version: - names.append(version.name) + names.append(f'{version.name} {version.version}') return names