ROS study notes (1): ROS installation

table of Contents

1 ROS  Installation

1.1 Follow http://wiki.ros.org/kinetic/Installation/Ubuntu

1.2 trouble shooting

1.2.1 sudo apt-get update

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

1.2.3 Refresh env

1.2.4 Start node


1 ROS  Installation

1.1 Follow http://wiki.ros.org/kinetic/Installation/Ubuntu

1.2 trouble shooting

1.2.1 sudo apt-get update

If report error:

W: GPG error: http://packages.ros.org/ros/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F42ED6FBAB17C654

W: The repository 'http://packages.ros.org/ros/ubuntu xenial InRelease' is not signed.

N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

N: See apt-secure(8) manpage for repository creation and user configuration details.

Then, run:

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

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

 

1.2.3 Refresh env

source ~/tutorial_ws/devel/setup.bash

or

rospack profile

1.2.4 Start node

roslaunch robot_sim_demo robot_spawn.launch // No need to run roscore first to start the master

rosrun robot_sim_demo robot_keyboard_teleop.py // You need to run roscore first to start the master

 

View ros version

Rosversion -d

Published 31 original articles · Like 3 · Visits 2028

Guess you like

Origin blog.csdn.net/lclfans1983/article/details/105398716