ros安装过程中的问题总结
ros的安装我就不啰嗦了,官网的最可靠,我就说下我踩坑的经历
把软件源改为ali-yun后,sudo apt-get dist-upgrade后,提示需要安装很多东西,把这些upgrade内容安装完毕就可以安装了
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
$ sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
$ sudo apt-get update
$ sudo apt-get install ros-kinetic-desktop-full
$ apt-cache search ros-kinetic
$ sudo rosdep init
$ rosdep update
$ echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
$ source ~/.bashrc
$ sudo apt-get install python-rosinstall
$ sudo apt-get install ros-kinetic-...
$ sudo apt-get install ros-kinetic-turtlebot*
$ roscore
printenv | grep ROS
mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/
catkin_make
source devel/setup.bash
echo $ROS_PACKAGE_PATH
printenv | grep ROS
sudo apt-get install ros-kinetic-ros-tutorials
sudo apt-get install ros-kinetic-rqt
sudo apt-get install ros-kinetic-rqt-common-plugins
catkin_make
cd src/serial_bot/launch/
roslaunch serial_bot bringup_all.launch
catkin_make -DCATKIN_WHITELIST_PACKAGES