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

Sending data to octomap_server issue

asked 2014-12-18 10:18:12 -0500

Thiagopj gravatar image

Hi guys!

I'm having some trouble running rgbdslam (on turtlebot w/ kinect) to generate an octomap without using the GUI.

After start the robot and kinect (openni), my steps are

>     roslaunch rgbdslam octomap_server.launch
>     roslaunch rgbdslam headless.launch
>     rosservice call /rgbdslam/ros_ui_b pause false
     -- Then capture some frames moving the robot around my lab --
>     rosservice call /rgbdslam/ros_ui_b pause true
>     rosservice call /rgbdslam/ros_ui send_all

The problem is: After send all the points captured, i'm able to run: rosrun octomap_server octomap_saver file.bt but file.bt only contains the last frame captured.

I think that octomap_server is overwriting the data received, so in the end it only contains the last frame. I've tried to change the parameters a lot, but with no success.

Here are the pictures of octomap_server.launch and headless.launch.

Any suggestion ?

Thanks !

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-01-12 08:02:59 -0500

Hi

Your launch-files seem right. I am not sure what the problem is. See my answer to this question.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-12-18 10:18:12 -0500

Seen: 661 times

Last updated: Jan 12 '15