rotors_simulator
rotors_simulator copied to clipboard
rosservice "/world/get_octomap" not getting published
I am trying to make an octomap. I have used the following command for launching the gazebo simulation
roslaunch rotors_gazebo mav_hovering_example.launch world_name:=waypoint
I found out from that octomap can be generated if the following line is present in the world file.
<plugin name='gazebo_octomap' filename='librotors_gazebo_octomap_plugin.so'/>
The file describes the octomap service and published topic as follows:
<octomapPubTopic>world/octomap</octomapPubTopic>
<octomapServiceName>world/get_octomap</octomapServiceName>
After launching, the simulation works fine, except that when I use the command rosservice list
or rostopic list
, I am unable to see the service and topic.
Please let me know, if I am missing anything.
I have the same problem. Did you find any solution for that? Thanks.
You should check the cmakefile, and here there are options for compile the plugins, octomap plugin is false , change to true and compile again