ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello.

Next time try to do a search before ask, please!

here you have the package http://wiki.ros.org/octomap_server.

So

sudo apt-get install ros-melodic-octomap ros-melodic-octomap-server ros-melodic-octomap-mapping ros-melodic-octomap-ros ros-melodic-octomap-msgs

then just run:

roslaunch octomap_server octomap_mapping.launch

btw your pointcloud has to be named cloud_in, or do a remap to change it's name to /narrow_stereo/points_filtered2. so, in you launch file you should add:

<remap from="cloud_in" to="/narrow_stereo/points_filtered2" />

Hello.

Next time try to do a search before ask, please!

here you have the package http://wiki.ros.org/octomap_server.

So

sudo apt-get install ros-melodic-octomap ros-melodic-octomap-server ros-melodic-octomap-mapping ros-melodic-octomap-ros ros-melodic-octomap-msgs

then just run:

roslaunch octomap_server octomap_mapping.launch

btw your pointcloud has to be named cloud_in, or do a remap to change it's name to /narrow_stereo/points_filtered2. so, in you launch file you should add:

<remap from="cloud_in" from="cloud_name" to="/narrow_stereo/points_filtered2" />

Hello.

Next time try to do a search before ask, please!

here you have the package http://wiki.ros.org/octomap_server.

So

sudo apt-get install ros-melodic-octomap ros-melodic-octomap-server ros-melodic-octomap-mapping ros-melodic-octomap-ros ros-melodic-octomap-msgs

then just run:

roslaunch octomap_server octomap_mapping.launch

btw your pointcloud has to be named cloud_in, or do a remap to change it's name to /narrow_stereo/points_filtered2. so, in you launch file you should add:

<remap from="cloud_name" to="/narrow_stereo/points_filtered2" />

And you have to define the global frame as a parameter (check the wiki) by default is /map but maybe is not your case. You have to publish also a transform between this fram e and the sensor data frame.

I think that's all! Hope it works

Hello.

Next time try to do a search before ask, please!

here you have the package http://wiki.ros.org/octomap_server.

So

sudo apt-get install ros-melodic-octomap ros-melodic-octomap-server ros-melodic-octomap-mapping ros-melodic-octomap-ros ros-melodic-octomap-msgs

then just run:

roslaunch octomap_server octomap_mapping.launch

btw your pointcloud has to be named cloud_in, or do a remap to change it's name to /narrow_stereo/points_filtered2. so, in you launch file you should add:

<remap from="cloud_name" to="/narrow_stereo/points_filtered2" />

And you have to define the global frame as a parameter (check the wiki) by default is /map but maybe is not your case. You have to publish also a transform between this fram e frame and the sensor data frame.frame if you don't know how, here you have tutorial (http://wiki.ros.org/tf/Tutorials).

I think that's all! Hope it works