ros安裝過(guò)程中的問(wèn)題總結(jié)
ros的安裝我就不啰嗦了丈屹,官網(wǎng)的最可靠,我就說(shuō)下我踩坑的經(jīng)歷
把軟件源改為ali-yun后吉执,sudo apt-get dist-upgrade后,提示需要安裝很多東西牲尺,把這些upgrade內(nèi)容安裝完畢就可以安裝了
$ 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