Ask Your Question

"laser_geometry.h" cannot be used

asked 2011-11-08 00:59:52 -0500

alfa_80 gravatar image

Why I got an error when I use #include "laser_geometry/laser_geometry.h" or with (<>). Is this one deprecated in Electric. Or any path that I can use in Electric..

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2011-11-08 01:07:56 -0500

You have to add the laser_geometry package as a dependency to the manifest.xml of your own package:

  <depend package="laser_geometry"/>

The #include as stated by you should then work (provided laser_geometry can be found in your ROS_PACKAGE_PATH).

edit flag offensive delete link more


Thanks a lot..I just wonder for some packages i even don't need to add it in manifest file like geometry_msgs package that i use, it just works..
alfa_80 gravatar image alfa_80  ( 2011-11-08 01:14:40 -0500 )edit
It's probably already a dependency of another package you use.
dornhege gravatar image dornhege  ( 2011-11-08 01:31:37 -0500 )edit
@dornhege: I also assume that way..just to cross check with you all..thanks anyway..
alfa_80 gravatar image alfa_80  ( 2011-11-08 01:39:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-11-08 00:59:52 -0500

Seen: 766 times

Last updated: Nov 08 '11