< >
Home » Windows系统入门教程 » Windows系统入门教程-WSL2安装ROS2 Foxy (ubuntu20.04)

Windows系统入门教程-WSL2安装ROS2 Foxy (ubuntu20.04)

Windows系统入门教程-WSL2安装ROS2 Foxy (ubuntu20.04)

说明:

  • 介绍如何在WSL2上安装ROS2 Foxy
  • 环境: wsl2 ubuntu20.04

步骤:

  • 进入WSL终端或桌面
  • 通过Windows ternimal preview下拉选择Ubuntu进入WSL终端
  • 或开始菜单点Ubuntu 20.04图标进入WSL终端
  • 或进入WSL的xfce桌面,在打开终端
  • 安装RCM工具
rm online.sh ; wget https://gitee.com/ncnynl/commands/raw/master/online.sh ; sudo chmod +x ./online.sh; ./online.sh
  • 安装ROS2
cs -s install_ros2_foxy.sh
  • 输入y进行自动安装

测试:

  • 新终端启动
$ ros2 run demo_nodes_cpp talker
  • 新终端启动
$ ros2 run demo_nodes_py listener

纠错,疑问,交流: 请进入讨论区点击加入Q群

获取最新文章: 扫一扫右上角的二维码加入“创客智造”公众号


标签: windows系统入门教程