Skip to main contentCrate flighthook
Source - ActorState
- Actor state emitted on the bus. Carries lifecycle status and
actor-specific key/value telemetry (battery, tilt, club, etc.).
- ActorStatusResponse
- Per-actor status within the status response. Also used as the cached
per-actor state in the web layer and UI.
- AlertMessage
- A user-visible alert. Info/debug/trace stays in the tracing backend;
warn/error conditions surface here for the UI log panel.
- BallFlight
- ClubData
- ClubInfo
- Club selection.
- ConfigChanged
- Configuration changed notification. Emitted by
reconfigure() when an
actor’s settings change; consumed by integrations (e.g. GSPro bridge). - ConfigCommand
- A request to mutate the system configuration.
- ConfigOutcome
- Acknowledgment of a config mutation, emitted by SystemActor after
processing a
ConfigCommand that had a request_id. - FlighthookConfig
- Top-level persisted config. All fields are in user-friendly units
(inches, feet, 0-100 percent) so the TOML file is hand-editable.
- FlighthookMessage
- A single event on the unified bus.
- GameStateCommand
- A command to update global state, originating from an integration or WS client.
- GameStateSnapshot
- Immutable snapshot of the current global state.
- GsProSection
- A GSPro integration instance.
- LaunchMonitorRecv
- Envelope for events from a launch monitor.
- MevoConfigEvent
- MevoSection
- A Mevo/Mevo+ device instance.
- MockMonitorSection
- A mock launch monitor instance.
- ModeRequest
- POST /api/mode request body.
- PlayerInfo
- Player info (handedness).
- PostSettingsResponse
- POST /api/settings response.
- RandomClubSection
- A random club cycling integration instance.
- ShotData
- SpinData
- StatusResponse
- GET /api/status response.
- UserDataMessage
- Opaque data from a third-party WS client.
- WebserverSection
- ActorStatus
- Generic actor lifecycle status.
- AlertLevel
- Severity level for alert messages.
- Club
- Golf club.
- ConfigAction
- The specific config mutation to apply.
- Distance
- A distance value with unit. Serializes as a suffix string:
"1.5in",
"9ft", "3m", "30cm", "100yd". - FlighthookEvent
- The typed event payload carried by a
FlighthookMessage. - GameStateCommandEvent
- The specific global state mutation.
- LaunchMonitorEvent
- Individual events from a launch monitor.
- PartialMode
- Controls whether the E8 (FlightResultV1) fallback is used when the device
does not send a full D4 flight result (common for short chips).
- RawPayload
- Raw wire data attached to a bus message.
- ShotDetectionMode
- UnitSystem
- Unit system for display. Imperial = yards/feet/inches/mph, Metric = meters/m/s.
- Velocity
- A velocity value with unit. Serializes as a suffix string:
"67.2mph",
"30.0mps", "108.0kph", "100.0fps".