Open BeatScherrer opened 4 years ago
The PROTOBUF_GENERATE_CPP
macro gives a list of the headers and sources. maybe there is a way to get the directory and add it to the catkin_package(INCLUDE_DIRS)
. GAZEBO_MSG_INCLUDE_DIRS
would also need to be added in this case.
My goal is to create a gazebo lidar which publishes its transform to ROS. Therefore I created a package which depends on
rotors_simulator_plugin
to make use of your ROS interface plugin which takes care of the conversion.I created a plugin for the lidar which is supposed to publish gazebo transforms (and get converted to ROS tf)
Therefore I included the
TransformStamped.ph.h
header in my plugin implementation:It seems I cannot get access to your generated
pb.h
files and printing theinclude_directories
of therotors_gazebo_plugins
does not include the location of the generated files.output of the
rotors_gazebo_plugins_INCLUDE_DIRS
The cmake file of my package looks as follows:
Am I missing something or is it intentional that the headers are not exposed?