본문 바로가기
Programming Language/ROS

ROS_PACKAGE(2)

by 민트초코맛꼬깔콘 2014. 9. 22.
반응형

http://wiki.ros.org/orocos_kdl

http://wiki.ros.org/orocos_toolchain?distro=fuerte


--------------------------------------------------------


$ rospack find ArmX_description 


/home/pjo/ROS_WORKSPACE/Puloon/ArmX_description/


경로 맞는지 확인, 틀리면


$ cd ~/ROS_WORKSPACE/Puloon


$ roscreate-pkg ArmX_description std_msgs rospy roscpp


ROS 패키지 생성


--------------------------------------------------------------------------------


$ vi ~/.bashrc


source /opt/ros/fuerte/setup.bash


export ROS_WORKSPACE=~/ROS_WORKSPACE


export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pjo/ROS_WORKSPACE

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pjo/ROS_WORKSPACE/Puloon

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pjo/ROS_WORKSPACE/Puloon/ArmX_description

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pjo/ROS_WORKSPACE/Puloon/ArmX

export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:/home/pjo/ROS_WORKSPACE/Armx_gui


--------------------------------------------------------------------------------

에러 메세지

No ROS_WORKSPACE set.

해결

$ source ~/ros_workspace/setup.sh


source /opt/ros/fuerte/setup.bash

export ROS_PACKAGE_PATH=~/ros_workspace:$ROS_PACKAGE_PATH

export ROS_WORKSPACE=~/ros_workspace

반응형

'Programming Language > ROS' 카테고리의 다른 글

TROUBLE SHOOTING  (0) 2014.11.14
ROS Package 생성  (0) 2014.08.13
OROCOS (RTT, KDL)  (0) 2014.08.01
ROS fuerte 설치  (0) 2014.07.04