ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Thanks for the answer,
I tried your suggestions with the following results:
I'm launching octomap via the pre-packaged launchfile rgbdslam_octomap.launch (included in the rgbdslam sources):
<!-- Launch octomap_server for mappingL: Listens to incoming PointCloud2 data
and incrementally build an octomap. The data is sent out in different representations. -->
<node pkg="octomap_server" type="octomap_server_node" name="octomap_server" output="screen">
<param name="resolution" value="0.005" />
<!-- fixed map frame (set to 'map' if SLAM or localization running!) -->
<param name="frame_id" type="string" value="map" />
<!-- maximum range to integrate (speedup, accuracy) -->
<param name="max_sensor_range" value="6.0" />
<!-- Save octomap here on destruction of the server -->
<param name="save_directory" value="$(optenv OCTOMAP_SAVE_DIR ./)" />
<!-- data source to integrate (PointCloud2) -->
<remap from="cloud_in" to="/rgbdslam/batch_clouds" />
</node>
As you can see, /rgbdslam/batch_clouds is remapped to cloud_in in the last line.
What am I supposed to see when visualizing cloud_in? Was that colored point cloud the thing that is to be expected and if so, is there any other explanation as to why octomap doesn't produce any output?
Thanks again!
2 | No.2 Revision |
EDIT: I simply tried launching rgbdslam and octomap_server separately, and it worked. Octomap_server also didn't need my entire RAM this time. So it must be a problem with that launchfile. Thanks for the help!
Thanks for the answer,
I tried your suggestions with the following results:
I'm launching octomap via the pre-packaged launchfile rgbdslam_octomap.launch (included in the rgbdslam sources):
<!-- Launch octomap_server for mappingL: Listens to incoming PointCloud2 data
and incrementally build an octomap. The data is sent out in different representations. -->
<node pkg="octomap_server" type="octomap_server_node" name="octomap_server" output="screen">
<param name="resolution" value="0.005" />
<!-- fixed map frame (set to 'map' if SLAM or localization running!) -->
<param name="frame_id" type="string" value="map" />
<!-- maximum range to integrate (speedup, accuracy) -->
<param name="max_sensor_range" value="6.0" />
<!-- Save octomap here on destruction of the server -->
<param name="save_directory" value="$(optenv OCTOMAP_SAVE_DIR ./)" />
<!-- data source to integrate (PointCloud2) -->
<remap from="cloud_in" to="/rgbdslam/batch_clouds" />
</node>
As you can see, /rgbdslam/batch_clouds is remapped to cloud_in in the last line.
What am I supposed to see when visualizing cloud_in? Was that colored point cloud the thing that is to be expected and if so, is there any other explanation as to why octomap doesn't produce any output?
Thanks again!
3 | No.3 Revision |
EDIT: I simply tried launching rgbdslam and octomap_server separately, and it worked. Octomap_server also didn't need my entire RAM this time. So it must be a problem with that launchfile. Thanks for the help!
EDIT 2: I'd like to mark this as the correct answer, but the system tells me I don't have enough "karma" to do that. So I have to leave it open. Unless somebody can tell me another way to close it.
Thanks for the answer,
I tried your suggestions with the following results:
I'm launching octomap via the pre-packaged launchfile rgbdslam_octomap.launch (included in the rgbdslam sources):
<!-- Launch octomap_server for mappingL: Listens to incoming PointCloud2 data
and incrementally build an octomap. The data is sent out in different representations. -->
<node pkg="octomap_server" type="octomap_server_node" name="octomap_server" output="screen">
<param name="resolution" value="0.005" />
<!-- fixed map frame (set to 'map' if SLAM or localization running!) -->
<param name="frame_id" type="string" value="map" />
<!-- maximum range to integrate (speedup, accuracy) -->
<param name="max_sensor_range" value="6.0" />
<!-- Save octomap here on destruction of the server -->
<param name="save_directory" value="$(optenv OCTOMAP_SAVE_DIR ./)" />
<!-- data source to integrate (PointCloud2) -->
<remap from="cloud_in" to="/rgbdslam/batch_clouds" />
</node>
As you can see, /rgbdslam/batch_clouds is remapped to cloud_in in the last line.
What am I supposed to see when visualizing cloud_in? Was that colored point cloud the thing that is to be expected and if so, is there any other explanation as to why octomap doesn't produce any output?
Thanks again!