RtkStatus

RTK Status UI Component

This component displays the current RTK fix status, including fix quality, satellite information, and correction data status.

Constructor

new RtkStatus(options)

Create an RTK status component

Parameters:
NameTypeDescription
optionsObject

Configuration options

Properties
NameTypeDescription
eventsEventEmitter

Event emitter for communication

selectorstring

CSS selector for the container element

Classes

RtkStatus

Methods

addStyles()

Add required CSS styles to the document

getRtkModeName() → {string}

Get RTK mode name

Returns:

RTK mode name

Type: 
string

handleNtripConnected(data)

Handle NTRIP connected event

Parameters:
NameTypeDescription
dataObject

Connection data

handleNtripDisconnected(data)

Handle NTRIP disconnected event

Parameters:
NameTypeDescription
dataObject

Disconnection data

handlePosition(position)

Handle position update event

Parameters:
NameTypeDescription
positionObject

Position data

handleRtcmData(data)

Handle RTCM data event

Parameters:
NameTypeDescription
dataObject

RTCM data and stats

initializeUI()

Initialize the UI elements

registerEventListeners()

Register event listeners for GNSS and NTRIP events

updateFixQualityIndicator()

Update the fix quality indicator

updateSatelliteBars()

Update the satellite bars

updateStatus()

Update the status display