TECHNOLOGY

Gazebo reset modes: a successful response does not prove model_only support

In this article
THE QUICK TAKE

The inspected branch warns that model_only reset is unsupported while acknowledging queued control; reset acceptance must verify the requested mode and actual postconditions.

A mode name is not implementation evidence

A twin client requests a model-only reset while expecting simulation time to continue. The service returns a successful boolean, so the application labels a new episode initialized. Before trusting that label, inspect the receiving implementation of the requested mode. A transport message can expose more fields than a particular server supports. The relevant acceptance condition is the intended world-state transition, not merely successful serialization or a response that confirms control reached the server.

Read the versioned mode dispatch

In the inspected gz-sim9 SimulationRunner, all and time_only contribute to the same rewind flag. The model_only branch emits a warning that the mode is unsupported. The handler then queues control and returns a successful response. Consequently, that boolean does not establish a distinct supported model-only reset. Keep this statement scoped to the inspected branch; it is not a claim that every historical or future Gazebo implementation handles reset fields identically.

Do not invent selective postconditions from a flag

The same inspected code resets simulation clock bookkeeping through its rewind path and initiates system reset handling. Do not infer that time_only necessarily preserves every model and plugin field just because of its name: the dispatch does not retain a separate selective mode in that path. Determine actual postconditions from the consuming systems. A client requiring a precise selective reset should identify a supported operation or explicitly perform and validate its own state restoration strategy.

Include the loaded-system reset boundary

The reset documentation describes an opt-in system Reset interface and destruction/reconstruction for systems not implementing the optimized path. That concerns loaded simulator systems, not arbitrary external controller processes. Inventory state owned outside that lifecycle, including command history, queues and observation buffers. Do not assume a world reset automatically updates an external application’s episode identity or clears its old observations. The required cross-boundary reset behavior must be defined by the integration.

Propose a reset-mode acceptance fixture

A proposed fixture should retain requested flags, server revision, response, warnings and observed time, pose and system-owned state. Compare supported full reset with the specifically required selective behavior using distinguishable initial values. Keep request acceptance separate from completed postconditions. If a mode is unsupported, report that rather than promoting an unchanged scene into successful restoration. No reset command or simulator experiment was executed for this article; the protocol defines evidence to collect in an isolated evaluation.

Keep episode protocol and server capability aligned

The CALVIN chain guide explains why reset scope changes evaluation; software reproducibility supports preserving the implementation. Here acceptance requires a supported mode and verified postconditions across the relevant state owners. A successful boolean alone cannot supply that contract. Physical repeatability and task performance remain separate questions after the simulation’s actual reset boundary has been established.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles