Robotics StackExchange | Archived questions

OctoMap not publishing anything ??

Hi I am trying to convert PointCloud2 into OctoMap. I publish the point cloud (from a ply file) on topic 'cloudin' with frameid set to 'baselink'. When I run rostopic echo cloudin I can see all the messages published. I then launch the octomap_server node using the roslaunch command. The code of the launch file is below.

<?xml version="1.0"?>

<!-- Octomap Server -->
<node pkg="octomap_server" type="octomap_server_node" name="octomap">
    <param name="resolution" value="0.05" />

    <param name="frame_id" type="string" value="base_link" />

    <param name="max_sensor_range" value="20.0" />

    <param name="latch" value="false" />
    <remap from="cloud_in" to="occupied_cells_vis" />

</node>

but nothing is displayed in the MarkerArray in Rviz. I have tried changing the topic of MarkerArray to occupiedcellsvis because it automatically adds the array at the end. I have also tried occupiedcellsvisarray but still it blank

What am I doing wrong here??

Cheers

Asked by shehrozeb37 on 2015-02-14 15:07:00 UTC

Comments

Answers