标签:
ROS 教程
http://wiki.ros.org/ROS/Tutorials
http://wiki.ros.org/ROS/Tutorials/InstallingandConfiguringROSEnvironment
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
export | grep ROS
看看有没有设置环境变量
echo "source /opt/ros/jade/setup.bash" >> ~/.bashrc
source ~/.bashrc
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