I want to reset the models in the world, but nothing happens; here’s what I’ve tried.
- Environment:
- System: Ubuntu 22.04
- Gazebo: Gazebo fortress
- Open gazebo fortress with minimal_scene.sdf
ign gazebo minimal_scene.sdf -v 4 - Move the shapes using the translate mode
- use
ign serviceto request a reset from service/world/minimal_scene/control
ign service -s /world/minimal_scene/control --reqtype ignition.msgs.WorldControl --reptype ignition.msgs.Boolean --timeout 5000 --req 'reset: {all: true}, pause: true' - The log from the
ign service:
data: true - The log from
ign gazebo:
[Dbg] [SimulationRunner.cc:262] Rewinding simulation back to time zero. However, the shape was not reset.
- Other warnings of
ign gazebo:
[Wrn] [Model.hh:69] [Wrn] [Model.hh:69] Skipping serialization / deserialization for models Skipping serialization / deserialization for models Skipping serialization / deserialization for models with //pose/@relative_to attribute. [Wrn] [Component.hh:144] Trying to serialize component with data type [N3sdf3v125WorldEwith //pose/@relative_to attribute. N3sdf3v125WorldESkipping serialization / deserialization for models with //pose/@relative_to attribute. `operator<<`. Component will not be serialized.`operator<<`. Component will not be serialized.Skipping serialization / deserialization for models with //pose/@relative_to attribute. [Wrn] [Model.hh:69] [Wrn] [Model.hh:69] Skipping serialization / deserialization for models with //pose/@relative_to attribute. [GUI] [Wrn] [Component.hh:189] Trying to deserialize component with data type [N3sdf3v125WorldE], which doesn't have `operator>>`. Component will not be deserialized. [Dbg] [SimulationRunner.cc:262] Rewinding simulation back to time zero. [Dbg] [SimulationRunner.cc:262] Rewinding simulation back to time zero. [GUI] [Wrn] [Model.hh:49] Unable to serialize sdf::Model [GUI] [Wrn] [Model.hh:49] Unable to serialize sdf::Model [GUI] [Wrn] [Model.hh:49] Unable to serialize sdf::Model [GUI] [Wrn] [Component.hh:144] Trying to serialize component with data type [N3sdf3v125WorldE], which doesn't have `operator<<`. Component will not be serialized. [GUI] [Wrn] [Model.hh:49] Unable to serialize sdf::Model [GUI] [Wrn] [Model.hh:49] Unable to serialize sdf::Model