我将如何安装ROS(机器人操作系统(。我想在我的树莓派3上安装ROS。
ROS(机器人操作系统(安装在树莓派上
硬件要求
- 树莓派2/3
- SD卡16 GB至32 GB
- 读卡器
- HDMI显示器(可选(
- 键盘(可选(
- 鼠标(可选(
下载
下载ROS镜像(Ubuntu mate(
-
有许多图像列表项需要选择一个
-
https://downloads.ubiquityrobotics.com/pi.html
-
大约1 GB的文件需要几分钟时间。下载完成后将ROS图像解压缩到文件夹中
下载Win32DiskImager
- https://drive.google.com/file/d/1Bs2cClNa-LKqeoK8Kmcm-DWhFKsQw2dj/view?usp=sharing
- 下载完成后,安装Win32DiskImager
- 打开Win32DiskImager
图像写入SD卡
- 将SD卡插入电脑
- 打开Win32DiskImager
- 使用红圈按钮设置图像路径
- 使用绿色圆圈选择SD卡
- 一切正常,然后单击"写入">
- 这需要几分钟
启动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