If I have a state log captured by gazebo using
-r, and then run a filter over it, I have issues playing back the resulting file even if no filter is used.
that is, I am simply using (for debug purposes):
gz log --echo --file before_small.log > after_small.log
and I find that
after_small.log is not playable. I get:
[Err] [World.cc:2180] Unable to find model[robot]
printed repeatedly, while
before_small.log is playable with
rosrun gazebo_ros gazebo -p `pwd/`before_small.log --verbose --pause
--pause is necessary or it will not play).
I've attached the log files and the diff (txt versions). The log file was created using the software for the ARIAC competition (https://bitbucket.org/osrf/ariac/wiki/tutorials) and involves a UR10 arm using URDF and xacro. Without that arm (the model "robot"), everything works fine.
I've only tried with gazebo 7.4 from debs