Can't play gazebo state log after filtering

Issue #19 resolved
Deanna Hood created an issue

After running:

gz log -e -f ~/.gear/log/state.log --filter *.pose/*.pose -z 60 > qual_1.log

the state log is not playable.

$ rosrun gazebo_ros gazebo --verbose -p qual_1.log 
Gazebo multi-robot simulator, version 7.4.0
Copyright (C) 2012-2016 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[ INFO] [1484092320.161246258]: Finished loading Gazebo ROS API Plugin.
[Msg] Waiting for master.
[ INFO] [1484092320.161936921]: waitForService: Service [/gazebo/set_physics_properties] has not been advertised, waiting...
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.148.174
[Msg] 
Log playback:
  Log Version: 1.0
  Gazebo Version: 7.4.0
  Random Seed: 3152875187
  Log Start Time: 0 5000000
  Log End Time: 60 130000000
[Wrn] [msgs.cc:1793] Conversion of sensor type[logical_camera] not suppported.
[Wrn] [msgs.cc:1793] Conversion of sensor type[logical_camera] not suppported.
[Dbg] [ProximityRayPlugin.cc:74] Setting update rate of parent sensor to 50 Hz
[ INFO] [1484092321.389984755]: Laser Plugin (robotNamespace = ariac), Info: Using the 'robotNamespace' param: 'ariac'
[ INFO] [1484092321.390148578]: Starting Laser Plugin (ns = ariac)!
[Dbg] [ProximityRayPlugin.cc:74] Setting update rate of parent sensor to 20 Hz
[ INFO] [1484092321.393675250]: Laser Plugin (ns = ariac)  <tf_prefix_>, set to "ariac"
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[ INFO] [1484092321.440484287, 0.025000000]: waitForService: Service [/gazebo/set_physics_properties] is now available.
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[ INFO] [1484092321.555233555, 0.105000000]: Physics dynamic reconfigure ready.
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Wrn] [msgs.cc:1793] Conversion of sensor type[logical_camera] not suppported.
[Wrn] [msgs.cc:1793] Conversion of sensor type[logical_camera] not suppported.
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]
[Err] [World.cc:2180] Unable to find model[robot]

The world appears, but the movements that were previously visible through playback don't happen.

Comments (5)

  1. Deanna Hood reporter

    I was filtering the state logs because that's what's done in srcsim but running a simulation for 3 minutes leads to a compressed gazebo state log of 22mB, so filtering might not be necessary at all.

  2. Brian Gerkey

    We're waiting on an upstream fix.

    We'll revisit this as needed depending on how large the state log files end up being.

  3. Log in to comment