参考古月的博客安装
wget http://fishros.com/install -O fishros && sudo bash fishros
参考ubuntu20.04安装ROS2 详细教程-优快云博客
版本选择
Ubuntu 20.04 支持的ROS2版本为Foxy
ROS2 示例测试1
ros2 run demo_nodes_cpp talker
ros2 run demo_nodes_py listener
ROS2 示例测试2
ros2 run turtlesim turtlesim_node
ros2 run turtlesim turtle_teleop_key