Home | Tutorials | Wiki | Issues
Ask Your Question
0

replaying the log data file with a command line tool?

asked 2013-10-08 09:35:24 -0600

Zahra gravatar image

Hello

I want to use log data option in the window menu, so I started recording my simulation. And I want to reply the file but I do not know how, actually I used this line:

gazebo -p ~/pathtofile/state.log

and I get this error [ERROR] [1381242388.857410953]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying.

then I tried to do the following: roscore and then replaying the file but it keeps waiting with (waitForService: Service [/gazebo/setmodelstate] has not been advertised, waiting...)

I usually start my simulation with roslaunch package_name Launch.file

I am using groovy, gazebo 1.9.1 and gazeborospckages

is there a way to reply the log data file without these errors?

Thanks in advance

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-10-10 10:55:47 -0600

nkoenig gravatar image

The error message you see is coming from ROS. You only need to use Gazebo to play a log file. Do not use rosrun or roslaunch.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-10-08 09:35:24 -0600

Seen: 291 times

Last updated: Oct 10 '13