- 将ROS驱动包复制到 src 目录下,创建工作空间:
$ mkdir -p ~/turtlebot_ws/src
$ cd ~/turtlebot_ws/src
## 激光雷达驱动
$ git clone https://github.com/EAIBOT/flashgo.git
$ cd ~/turtlebot_ws
## 构建flashgo_node和flashgo_client
$ catkin_make
2.添加环境变量
echo "source ~/turtlebot_ws/devel/setup.bash" >> ~/.bashrc
source ~/.bashrc
3.为F4的串口增加设备别名
$ roscd flashgo/startup
$ sudo chmod =x ini