此教程是基于 ROS系统的安装 的后续操作,仅适用于Ubuntu 14.04,indigo版ROS。
安装
- 设置用户的串口读取权限
$ sudo usermod -a -G dialout your_user_name
your_user_name替换为实际用户名.
重启PC,使配置生效
- 安装依赖包
$ sudo apt-get install git python-serial ros-indigo-serial g++ ros-indigo-turtlebot-rviz-launchers ros-indigo-teleop-twist-keyboard
- 下载并编译 dashgo 包
$ mkdir -p ~/dashgo_ws/src
$ cd ~/dashgo_ws/src
$ git clone https://github.com/EAIBOT/dashgo.git
$ cd ~/dashgo_ws/src/dashgo
$ git checkout slam_02
$ cd ~/dashgo_ws
$ catkin_make
catkin_make
编译完成后,添加 Dashgo 环境变量