安装turtlebot
安装turtlebot不推荐使用创客制造安装,主要因为创客上面的步骤会少下载很多的东西,而且后来会有很多包的路径和那个对不上,导致launch文件总是报错。
推荐使用https://github.com/dawnchen123/turtlebot 这个包的东西非常全
打开终端
sudo apt-get install ros-kinetic-turtlebot-*
mkdir catkin_ws_turtlebot
cd catkin_ws_turtlebot
mkdir src
cd src
git clone https://github.com/dawnchen123/turtlebot.git
cd ..
catkin_make
如果catkin_make出现 Could not find a package configuration file provided by “ecl_exceptin” 这种类型的问题
sudo apt-get install ros-kinetic-ecl-exception
如果将ecl_exceptin换成其他的问题,将ros-kinetic-ecl-exception替换成ros-kinetic-其他
若sudo apt-get install ros-kinetic-ecl-exception
还是解决不了这种问题
sudo apt-get autoremove ros-kinetic-ecl-exception
之后再重装,其他的错误同理
安装好了之后
sudo gedit ~/.bashrc
里面添加
source ~/catkin_ws_turtlebot/devel/setup.bash
启动turtlebot,turtlebot会有启动的声音
roslaunch turtlebot_bringup minimal.launch