Skip to content

Commit

Permalink
feat: 添加docker安装jazzy源。并且在安装ROS版本列表中显示是ROS1还是ROS2 (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
AngryTurtle2 authored Jun 14, 2024
1 parent e588184 commit 53555e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/tool_install_ros_with_docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]),
Expand Down Expand Up @@ -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


Expand Down

0 comments on commit 53555e9

Please sign in to comment.