ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

unable to create a ros package in pr2_controller tutorial

asked 2014-04-08 16:19:09 -0500

Ros_newbie gravatar image

updated 2016-10-24 09:03:07 -0500

ngrennan gravatar image

I am following the tutorial, Using the low-level robot base controllers to drive the robot. I got a pr2 in gazebo and rosran the pr2 controller manager. When I try to roscreate-pkg drive_base_tutorial roscpp geometry_msgs this is what the terminal looks like: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! WARNING: current working directory is not on ROS_PACKAGE_PATH! Please update your ROS_PACKAGE_PATH environment variable. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Created package directory /home/roger/catkin_ws/src/drive_base_tutorial Created include directory /home/roger/catkin_ws/src/drive_base_tutorial/include/drive_base_tutorial Created cpp source directory /home/roger/catkin_ws/src/drive_base_tutorial/src Created package file /home/roger/catkin_ws/src/drive_base_tutorial/Makefile Created package file /home/roger/catkin_ws/src/drive_base_tutorial/manifest.xml Created package file /home/roger/catkin_ws/src/drive_base_tutorial/CMakeLists.txt Created package file /home/roger/catkin_ws/src/drive_base_tutorial/mainpage.dox

Please edit drive_base_tutorial/manifest.xml and mainpage.dox to finish creating your package

I am using 12.04 ubuntu and groovy. export declare -x ROSLISP_PACKAGE_DIRECTORIES="" declare -x ROS_DISTRO="groovy" declare -x ROS_ETC_DIR="/opt/ros/groovy/etc/ros" declare -x ROS_PACKAGE_PATH="/opt/ros/groovy/share:/opt/ros/groovy/stacks" declare -x ROS_ROOT="/opt/ros/groovy/share/ros"

and cd is in catkin_ws/src.

Please help. I do not know how to proceed

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-04-08 18:55:55 -0500

ahendrix gravatar image

It sounds like you're trying to follow a rosbuild tutorial and create a rosbuild package in a catkin workspace.

The PR2 packages are not catkinized in Groovy. You should instead set up a overlay rosbuild workspace for working with the PR2 controllers on Groovy.

edit flag offensive delete link more

Comments

Thanks. It helped.

Ros_newbie gravatar image Ros_newbie  ( 2014-04-09 05:39:32 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-04-08 16:19:09 -0500

Seen: 216 times

Last updated: Apr 08 '14