ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.26k stars 765 forks source link

rosservice "/world/get_octomap" not getting published #555

Open viswanarayanans opened 5 years ago

viswanarayanans commented 5 years ago

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.

juanmaca9 commented 5 years ago

I have the same problem. Did you find any solution for that? Thanks.

paul218 commented 5 years ago

You should check the cmakefile, and here there are options for compile the plugins, octomap plugin is false , change to true and compile again