Catalog
一.Ubuntu16.04安装ROS

SET SOURCE

sudo sh -c ‘echo “deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main” > /etc/apt/sources.list.d/ros-latest.list’


SET KEY

sudo apt-key adv –keyserver hkp://ha.pool.sks-keyservers.net:80 –recv-key 0xB01FA116


INSTALL

sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full


INIT

sudo rosdep init
rosdep update


SET ENV

echo “source /opt/ros/kinetic/setup.bash” >> ~/.bashrc
locate source ~/.bashrc


INSTALL rosinstall

udo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential


TEST

roscore
rosrun turtlesim turtlesim_node
rosrun turtlesim turtle_teleop_key


BUILD WORKSPACE

mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
catkin_init_workspace
cd ..
catkin_make
catkin_make install

Author: Jone-Mark
Link: http://94.191.80.102:4000/2019/03/08/%E4%B8%80.Ubuntu16.04%E5%AE%89%E8%A3%85ROS/
Copyright Notice: All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.