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

How can i convert a .bag file to .pcd

asked 2017-03-07 09:31:30 -0500

terminxd gravatar image

updated 2017-03-07 11:11:45 -0500

lucasw gravatar image

i used ubuntu 16 and wrote in terminal: rosrun pcl_ros bag_to_pcd <input_file.bag> <topic> <output_directory>, but i'm getting this error:

[ERROR] [1488830410.790465733]: [registerPublisher] Failed to contact master at [localhost:11311].  Retrying...

Furthermore i tried to change localhost with my ip with command: exportROS_MASTER_URI=http://X.X.X.X:11311/, but nothing!

Please help,i have no idea how to achieve this conversion!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-03-08 02:25:00 -0500

mgruhler gravatar image

The error is right there:

Failed to contact master

For rosrun, you need to start a ROS master Otherweise, no subscriptions etc. will work. Simply open another terminal and type roscore.

edit flag offensive delete link more


I tried this and i'm getting this message:

Unable to contact my own server at [ http://IP_OF_TURTLEBOT:37529/ ].

This usually means that the network is not configured properly.

A common cause is that the machine cannot ping itself. Please check

for errors by running: ping ip_of_turtlebot

terminxd gravatar image terminxd  ( 2017-03-08 04:24:28 -0500 )edit

Question Tools

1 follower


Asked: 2017-03-07 09:31:30 -0500

Seen: 426 times

Last updated: Mar 08 '17