Skip to main content

Interface: GPSSatComputerEvents

Defined in: src/sdk/instruments/GPSSat.ts:542

Events published by the GPSSatComputer system.

Indexable

[gps_sat_state_changed: `gps_sat_state_changed_${number}`]: GPSSatellite

An event published when a GPS satellite changes state.

[gps_system_nominal_channel_count: `gps_system_nominal_channel_count_${number}`]: number | null

The nominal total number of receiver channels supported by the GPS system, or null if the system supports an unlimited number of channels.

[gps_system_nominal_sbas_channel_count: `gps_system_nominal_sbas_channel_count_${number}`]: number | null

The nominal number of SBAS-only receiver channels supported by the GPS system, or null if all channels can track both non-SBAS and SBAS satellites.

[gps_system_satellite_inhibit_changed: `gps_system_satellite_inhibit_changed_${number}`]: ReadonlySet<number>

An event published when the set of manually inhibited satellites for the GPS system changes. The event data is a set containing the PRN (pseudo-random noise) codes of all currently inhibited satellites. This does not include SBAS satellites that are inhibited solely because their associated SBAS group is not enabled (unless the satellite has also been manually inhibited).

[gps_system_state_changed: `gps_system_state_changed_${number}`]: GPSSystemState

An event published when the GPS satellite system changes state.

[gps_sat_pos_calculated: `gps_sat_pos_calculated_${number}`]: void

An event published when the GPS satellite positions have been updated.

[gps_system_sbas_state_changed: `gps_system_sbas_state_changed_${number}`]: GPSSystemSBASState

An event published when the GPS system SBAS state changes.

[gps_system_covar_matrix: `gps_system_covar_matrix_${number}`]: Readonly<Omit<Float64Array<ArrayBufferLike>, "set" | "sort" | "copyWithin">>

The covariance matrix calculated from the satellite constellation used to produce the GPS system's current position solution, represented as a 16-element vector. The matrix is organized such that:

  • Row/column 1 represents spatial axis x (parallel to Earth's surface, positive points toward true north).
  • Row/column 2 represents spatial axis y (parallel to Earth's surface, positive points toward the east).
  • Row/column 3 represents spatial axis z (perpendicular to Earth's surface, positive points upward).
  • Row/column 4 represents the temporal axis.

The element at row i, column j of the covariance matrix is represented by the element at index i * 4 + j in the vector (i.e. the vector is filled from the matrix in row-major order). If the system has not acquired a position solution, then all elements of the vector will be NaN.

[gps_system_pdop: `gps_system_pdop_${number}`]: number

The current position dilution of precision (PDOP) calculated by the GPS system, or -1 if the system has not acquired a position solution.

[gps_system_hdop: `gps_system_hdop_${number}`]: number

The current horizontal dilution of precision (HDOP) calculated by the GPS system, or -1 if the system has not acquired a position solution.

[gps_system_vdop: `gps_system_vdop_${number}`]: number

The current horizontal dilution of precision (VDOP) calculated by the GPS system, or -1 if the system has not acquired a position solution.