如何在Raspberry pi 3上安装ROS(机器人操作系统)



我将如何安装ROS(机器人操作系统(。我想在我的树莓派3上安装ROS。

ROS(机器人操作系统(安装在树莓派上

硬件要求

  1. 树莓派2/3
  2. SD卡16 GB至32 GB
  3. 读卡器
  4. HDMI显示器(可选(
  5. 键盘(可选(
  6. 鼠标(可选(

下载

下载ROS镜像(Ubuntu mate(

  1. 有许多图像列表项需要选择一个

  2. https://downloads.ubiquityrobotics.com/pi.html

  3. 大约1 GB的文件需要几分钟时间。下载完成后将ROS图像解压缩到文件夹中

    下载Win32DiskImager

  4. https://drive.google.com/file/d/1Bs2cClNa-LKqeoK8Kmcm-DWhFKsQw2dj/view?usp=sharing
  5. 下载完成后,安装Win32DiskImager
  6. 打开Win32DiskImager

图像写入SD卡

  1. 将SD卡插入电脑
  2. 打开Win32DiskImager
  3. 使用红圈按钮设置图像路径
  4. 使用绿色圆圈选择SD卡
  5. 一切正常,然后单击"写入">
  6. 这需要几分钟

启动ROS操作系统

  • 将SD卡插入Raspberry pi
  • 通电
  • Psername:ubuntu
  • 密码:ubuntu

测试ROS

  • Ctrl+Alt+T打开终端
  • 打开终端

    $rostopic列表

输出

/battery_state
/cmd_vel
/diagnostics
/joint_states
/joy
/left_error
/motor_node/parameter_descriptions
/motor_node/parameter_updates
/right_error
/rosout
/rosout_agg
/statistics
/tf
/tf2_web_republisher/cancel
/tf2_web_republisher/feedback
/tf2_web_republisher/goal
/tf2_web_republisher/result
/tf2_web_republisher/status
/tf_static

感谢安装完成

最新更新