码迷,mamicode.com
首页 > 其他好文 > 详细

ROS -build and configure environment

时间:2015-06-14 21:19:57      阅读:107      评论:0      收藏:0      [点我收藏+]

标签:

ROS 教程

http://wiki.ros.org/ROS/Tutorials

http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment

Install ROS

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://pool.sks-keyservers.net --recv-key 0xB01FA116
sudo apt-get install libgl1-mesa-dev-lts-utopic
sudo apt-get install ros-jade-desktop-full
sudo rosdep init

Managing Your Environment

export | grep ROS
看看有没有设置环境变量

echo "source /opt/ros/jade/setup.bash" >> ~/.bashrc
source ~/.bashrc

Create a ROS Workspace

 mkdir -p ~/catkin_ws/src
cd ~/catkin_ws/src
catkin_init_workspace
创建build he devl目录及相应的.sh
cd ~/catkin_ws/
catkin_make
source devel/setup.bash
echo $ROS_PACKAGE_PATH
发现前面多了src的目录
/home/ubuntu/catkin_ws/src:/opt/ros/jade/share:/opt/ros/jade/stacks

ROS -build and configure environment

标签:

原文地址:http://www.cnblogs.com/fastwave2004/p/4575673.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!