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