ROS学习笔记(1): ROS安装

目录

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  刷新env

1.2.4启动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  刷新env

source ~/tutorial_ws/devel/setup.bash

或者

rospack profile

1.2.4启动node

roslaunch robot_sim_demo robot_spawn.launch   //不需要先run  roscore来启动master

rosrun robot_sim_demo robot_keyboard_teleop.py //需要先run  roscore 来启动master

 

查看ros版本

Rosversion -d

发布了31 篇原创文章 · 获赞 3 · 访问量 2028

猜你喜欢

转载自blog.csdn.net/lclfans1983/article/details/105398716