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

mwerezak's profile - activity

2016-06-23 15:57:39 -0500 received badge  Famous Question (source)
2016-06-23 15:57:39 -0500 received badge  Notable Question (source)
2015-10-01 15:20:53 -0500 received badge  Supporter (source)
2015-10-01 15:20:20 -0500 commented question Cannot include trajectory_planner_ros.h

It seems the answer can be found here.

2015-10-01 15:16:14 -0500 commented question Cannot include trajectory_planner_ros.h

After some more investigating, I'm pretty sure the issue here is that I don't understand cmake, or how to update the CMakeLists.txt to include and properly link to the PCL library.

2015-10-01 11:31:45 -0500 received badge  Popular Question (source)
2015-10-01 11:07:35 -0500 commented answer Cannot include trajectory_planner_ros.h

I installed pcl using the instructions here, yet it still fails on that file :(

If that's not good enough, I also have what appear to be several dozen libpcl packages installed, plus ros-indigo-pcl-ros.

2015-10-01 11:03:54 -0500 commented answer Cannot include trajectory_planner_ros.h

Ah, I wasn't aware pcl was separate from ROS. That's probably it.

2015-09-30 21:44:13 -0500 asked a question Cannot include trajectory_planner_ros.h

Hi, I am working on a simple turtlebot node that uses base_local_planner to generate velocity commands. If put the following in my .cpp source file:

#include <base_local_planner/trajectory_planner_ros.h>

The compilation (using catkin_make) fails with the following error message:

[100%] Building CXX object turtlebot_example/CMakeFiles/turtlebot_example_node.dir/src/turtlebot_example_node.cpp.o
In file included from /opt/ros/indigo/include/base_local_planner/world_model.h:41:0,
                 from /opt/ros/indigo/include/base_local_planner/trajectory_planner_ros.h:44,
                 from <workspace path>/src/turtlebot_example/src/turtlebot_example_node.cpp:22:
/opt/ros/indigo/include/costmap_2d/observation.h:36:29: fatal error: pcl/point_types.h: No such file or directory
 #include <pcl/point_types.h>
                             ^
compilation terminated.
make[2]: *** [turtlebot_example/CMakeFiles/turtlebot_example_node.dir/src/turtlebot_example_node.cpp.o] Error 1
make[1]: *** [turtlebot_example/CMakeFiles/turtlebot_example_node.dir/all] Error 2
make: *** [all] Error 2

It seems like the error is in some header in ros/indigo/include, which is frustrating.