Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

package not found - ROS PCL Tutorial

Hey, I am new to ROS and want to work with pointclouds. I did exactly the ROS PCL tutorial as written in http://wiki.ros.org/pcl/Tutorials

CMakeLists in ~/catkin_ws/src/my_pcl_tutorial:

cmake_minimum_required(VERSION 2.8.3)
project(my_pcl_tutorial)
find_package(catkin REQUIRED COMPONENTS
  pcl_conversions
  pcl_ros
  roscpp
  sensor_msgs
)

include_directories(
  ${catkin_INCLUDE_DIRS}
)

add_executable(example src/example.cpp)
target_link_libraries(example ${catkin_LIBRARIES})

package.xml:

  <?xml version="1.0"?>
  <package>
  <name>my_pcl_tutorial</name>
  <version>0.0.0</version>
  <description>The my_pcl_tutorial package</description>

  <maintainer email="viki@todo.todo">viki</maintainer>

  <buildtool_depend>catkin</buildtool_depend>
  <build_depend>pcl_conversions</build_depend>
  <build_depend>pcl_ros</build_depend>
  <build_depend>roscpp</build_depend>
  <build_depend>sensor_msgs</build_depend>
  <build_depend>libpcl-all-dev</build_depend>
  <run_depend>libpcl-all</run_depend>
  <run_depend>pcl_conversions</run_depend>
  <run_depend>pcl_ros</run_depend>
  <run_depend>roscpp</run_depend>
  <run_depend>sensor_msgs</run_depend>
  <export>
  </export>
</package>

, but it does not seem to incorporate the package:

rosrun error:

rosrun my_pcl_tutorial example input:=/narrow_stereo_textured/points2
[rospack] Error: package 'my_pcl_tutorial' not found

Version: Indigo 1.11.8, but it does not work on jade either. I did all the previous standard ROS tutorials, but dumpster beginner mistakes likely happened. Any help is appreciated.