> For the complete documentation index, see [llms.txt](https://skydel.gitbook.io/skydel-plug-ins-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://skydel.gitbook.io/skydel-plug-ins-documentation/plug-in-development/roles/simulator-state-observer.md).

# Simulator State Observer

This section contains a description of the SkydelSimulatorStateObserverInterface supported by Skydel.

## Simulator State

The `SkydelSimulatorStateObserverInterface` interface can be used to obtain information about the current state of the simulator. By implementing the `pushSimulatorState` method, a plug-in can act upon changes to the simulator's state. The method exposes the main state and sub state (`simulatorState` and `simulatorSubState`) that is sent by the simulator:

<table data-full-width="false"><thead><tr><th width="141">Main State</th><th width="221">Sub State</th><th>Description</th></tr></thead><tbody><tr><td>Idle</td><td>Incomplete</td><td>The configuration is invalid and the simulator cannot be started</td></tr><tr><td>Idle</td><td>Ready</td><td>The simulator is ready to be started</td></tr><tr><td>Started</td><td>Initializing Plug-ins</td><td>Plugin-initialization where the <em>initialize</em> method of the SkydelCoreInterface is called</td></tr><tr><td>Started</td><td>Initializing</td><td>The simulator is preparing the output for streaming</td></tr><tr><td>Started</td><td>Armed</td><td>The simulator's hardware is initialized and ready to start</td></tr><tr><td>Started</td><td>Streaming RF</td><td>The simulator is running</td></tr><tr><td>Started</td><td>WF Init (Worker instance)</td><td>In Wavefront context, a worker instance is synchronizing with the main instance</td></tr><tr><td>Started</td><td>WF Init (Main instance)</td><td>In Wavefront context, the main instance is synchronizing its worker instances</td></tr><tr><td>Started</td><td>WF Sync PPS Reset</td><td>In Wavefront context, the main instance communicates a reference PPS to the worker instances</td></tr><tr><td>Started</td><td>WF Sync Start</td><td>In Wavefront context, the main instance is using the PPS IN Delay Preference to determine when the GNSS RF signal should start streaming</td></tr><tr><td>Started</td><td>HIL Sync</td><td>In HIL context, the simulator is waiting for positions to start </td></tr><tr><td>Started</td><td>Sync Init</td><td>In Main/Worker multi-instance context, the main instance waits for all worker instances to finish initializing</td></tr><tr><td>Started</td><td>Sync Worker instance</td><td>In Main/Worker multi-instance context, the worker instance is waiting to start streaming on the PPS selected by the main instance</td></tr><tr><td>Started</td><td>Sync PPS Reset</td><td>In Main/Worker multi-instance context, the main instance communicates a reference PPS to the worker instances</td></tr><tr><td>Started</td><td>Sync Start Time</td><td>In Main/Worker multi-instance context when using GPS Timing receiver, the main instance retrieves the GPS time from the receiver and sets the simulation start time</td></tr><tr><td>Started</td><td>Sync Start</td><td>In Main/Worker multi-instance context, the main instance is using the PPS IN Delay Preference to determine when the GNSS RF signal should start streaming</td></tr><tr><td>Error</td><td>Error</td><td>The simulator encountered an error and stopped</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://skydel.gitbook.io/skydel-plug-ins-documentation/plug-in-development/roles/simulator-state-observer.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
