ROS on Raspberry Pi 3B

ROS on Raspberry Pi 3B

Prepare Ubuntu Mate 16.04

Install Ubuntu on Raspberry Pi

  • Insert Pi’s SD Card into Card Reader and connect to your computer (windows)
  • Use Card Formatter formatting the SD Card
    1195226-20190402213257452-1484193420.png
  • Use Win32 Disk Imager writing the Ubuntu Mate 16.04 to the SD Card.
    1195226-20190402213331073-2080496049.png
  • Insert the SD Card back into the Pi. Connect it with your screen, then turn on the power.
  • After log in, set up configuration.

SSH and VNC

  • Open Terminal
sudo raspi-config
  • Select Interface Options
  • Open SSH
  • Install x11vnc, if you don’t have a screen, you can access to the GUI by vnc.
wget https://github.com/longhr/ubuntu1604hub/raw/master/ubuntu1604VNC.sh
chmod u+x ubuntu1604VNC.sh
sudo ./ubuntu1604VNC.sh

The system will restart once you finish installation.
If failed, type in the last command again
1195226-20190402213413103-437279197.png

  • use x11vnc -geometry 1920x1080 to open a vnc connection.

Install ROS

Follow these ROS Kinetic installation steps.

Test ROS

  • Open a terminal then type in: roscore.
  • Open a new terminal then type in: rosrun turtlesim turtlesim_node.
  • Open a new terminal then type in: rosrun turtlesim turtle_teleop_key. Then you can control the turtle by arrow keys.
  • Open a new terminal then type in: rviz.
  • Open a new terminal then type in: gazebo.

Then ROS can be used normally .

转载于:https://www.cnblogs.com/JamesDYX/p/10645495.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值