ROS package 의 환경변수 설정을 확인해주기 위해 다음 명령어를 사용

$ export | grep ROS


1. 새로운 workspace 만들기

$ rosws init ~/fuerte_workspace /opt/ros/fuerte

참고: rosinstall package 에 rosws명령어가 포함되어 있는데 ros설치시 기본으로 포함되어 있지 않음(별도로 설치해주자)

$ sudo apt-get install python-rosinstall


2. 새로운 package 를 위해 directory 만들기

$ mkdir ~/fuerte_workspace/sandbox $ rosws set ~/fuerte_workspace/sandbox

new package의 경로를 환경변수 ROS_PACKAGE_PATH에 포함해주기 위해 다음 명령을 사용한다

$ source ~/fuerte_workspace/setup.bash

환경변수에 포함되어진거 확인하려면

$ echo $ROS_PACKAGE_PATH


'ROS electric' 카테고리의 다른 글

ROS topic의 이해  (0) 2014.01.08
ROS node의 이해  (0) 2014.01.08
ROS package 빌드  (0) 2014.01.07
ROS package 생성  (0) 2014.01.07
ROS Filesystem  (0) 2014.01.07
Posted by 신영식
,