sbp.tracking module¶
Satellite code and carrier-phase tracking messages from the device.
-
class
sbp.tracking.
MeasurementState
(payload=None, **kwargs)[source]¶ Bases:
object
MeasurementState.
Measurement Engine tracking channel state for a specific satellite signaland measured signal power. The mesid field for Glonass can either carry the FCN as 100 + FCN where FCN is in [-7, +6] or the Slot ID (from 1 to 28)
- mesid : GnssSignal
- Measurement Engine GNSS signal being tracked (carries either Glonass FCN or SLOT)
- cn0 : int
- Carrier-to-Noise density. Zero implies invalid cn0.
-
cn0
¶
-
mesid
¶
-
class
sbp.tracking.
MsgMeasurementState
(sbp=None, **kwargs)[source]¶ Bases:
sbp.msg.SBP
SBP class for message MSG_MEASUREMENT_STATE (0x0061).
You can have MSG_MEASUREMENT_STATE inherit its fields directly from an inherited SBP object, or construct it inline using a dict of its fields.
The tracking message returns a variable-length array of tracking
channel states. It reports status and carrier-to-noise density measurements for all tracked satellites.
- sbp : SBP
- SBP parent object to inherit from.
- states : array
- ME signal tracking channel state
- sender : int
- Optional sender ID, defaults to SENDER_ID (see sbp/msg.py).
-
from_binary
(d)[source]¶ Given a binary payload d, update the appropriate payload fields of the message.
-
states
¶
-
class
sbp.tracking.
MsgTrackingIq
(sbp=None, **kwargs)[source]¶ Bases:
sbp.msg.SBP
SBP class for message MSG_TRACKING_IQ (0x002C).
You can have MSG_TRACKING_IQ inherit its fields directly from an inherited SBP object, or construct it inline using a dict of its fields.
When enabled, a tracking channel can output the correlations at each
update interval.
- sbp : SBP
- SBP parent object to inherit from.
- channel : int
- Tracking channel of origin
- sid : GnssSignal
- GNSS signal identifier
- corrs : array
- Early, Prompt and Late correlations
- sender : int
- Optional sender ID, defaults to SENDER_ID (see sbp/msg.py).
-
channel
¶
-
corrs
¶
-
from_binary
(d)[source]¶ Given a binary payload d, update the appropriate payload fields of the message.
-
sid
¶
-
class
sbp.tracking.
MsgTrackingIqDep
(sbp=None, **kwargs)[source]¶ Bases:
sbp.msg.SBP
SBP class for message MSG_TRACKING_IQ_DEP (0x001C).
You can have MSG_TRACKING_IQ_DEP inherit its fields directly from an inherited SBP object, or construct it inline using a dict of its fields.
Deprecated.
- sbp : SBP
- SBP parent object to inherit from.
- channel : int
- Tracking channel of origin
- sid : GnssSignalDep
- GNSS signal identifier
- corrs : array
- Early, Prompt and Late correlations
- sender : int
- Optional sender ID, defaults to SENDER_ID (see sbp/msg.py).
-
channel
¶
-
corrs
¶
-
from_binary
(d)[source]¶ Given a binary payload d, update the appropriate payload fields of the message.
-
sid
¶
-
class
sbp.tracking.
MsgTrackingState
(sbp=None, **kwargs)[source]¶ Bases:
sbp.msg.SBP
SBP class for message MSG_TRACKING_STATE (0x0041).
You can have MSG_TRACKING_STATE inherit its fields directly from an inherited SBP object, or construct it inline using a dict of its fields.
The tracking message returns a variable-length array of tracking
channel states. It reports status and carrier-to-noise density measurements for all tracked satellites.
- sbp : SBP
- SBP parent object to inherit from.
- states : array
- Signal tracking channel state
- sender : int
- Optional sender ID, defaults to SENDER_ID (see sbp/msg.py).
-
from_binary
(d)[source]¶ Given a binary payload d, update the appropriate payload fields of the message.
-
states
¶
-
class
sbp.tracking.
MsgTrackingStateDepA
(sbp=None, **kwargs)[source]¶ Bases:
sbp.msg.SBP
SBP class for message MSG_TRACKING_STATE_DEP_A (0x0016).
You can have MSG_TRACKING_STATE_DEP_A inherit its fields directly from an inherited SBP object, or construct it inline using a dict of its fields.
Deprecated.
- sbp : SBP
- SBP parent object to inherit from.
- states : array
- Satellite tracking channel state
- sender : int
- Optional sender ID, defaults to SENDER_ID (see sbp/msg.py).
-
from_binary
(d)[source]¶ Given a binary payload d, update the appropriate payload fields of the message.
-
states
¶
-
class
sbp.tracking.
MsgTrackingStateDepB
(sbp=None, **kwargs)[source]¶ Bases:
sbp.msg.SBP
SBP class for message MSG_TRACKING_STATE_DEP_B (0x0013).
You can have MSG_TRACKING_STATE_DEP_B inherit its fields directly from an inherited SBP object, or construct it inline using a dict of its fields.
Deprecated.
- sbp : SBP
- SBP parent object to inherit from.
- states : array
- Signal tracking channel state
- sender : int
- Optional sender ID, defaults to SENDER_ID (see sbp/msg.py).
-
from_binary
(d)[source]¶ Given a binary payload d, update the appropriate payload fields of the message.
-
states
¶
-
class
sbp.tracking.
MsgTrackingStateDetailedDep
(sbp=None, **kwargs)[source]¶ Bases:
sbp.msg.SBP
SBP class for message MSG_TRACKING_STATE_DETAILED_DEP (0x0011).
You can have MSG_TRACKING_STATE_DETAILED_DEP inherit its fields directly from an inherited SBP object, or construct it inline using a dict of its fields.
Deprecated.
- sbp : SBP
- SBP parent object to inherit from.
- recv_time : int
- Receiver clock time.
- tot : GPSTimeDep
- Time of transmission of signal from satellite. TOW only valid when
TOW status is decoded or propagated. WN only valid when week number valid flag is set.
- P : int
- Pseudorange observation. Valid only when pseudorange valid flag is
set.
- P_std : int
- Pseudorange observation standard deviation. Valid only when
pseudorange valid flag is set.
- L : CarrierPhase
- Carrier phase observation with typical sign convention. Valid only
when PLL pessimistic lock is achieved.
- cn0 : int
- Carrier-to-Noise density
- lock : int
- Lock time. It is encoded according to DF402 from the RTCM 10403.2
Amendment 2 specification. Valid values range from 0 to 15.
- sid : GnssSignalDep
- GNSS signal identifier.
- doppler : int
- Carrier Doppler frequency.
- doppler_std : int
- Carrier Doppler frequency standard deviation.
- uptime : int
- Number of seconds of continuous tracking. Specifies how much time
signal is in continuous track.
- clock_offset : int
- TCXO clock offset. Valid only when valid clock valid flag is set.
- clock_drift : int
- TCXO clock drift. Valid only when valid clock valid flag is set.
- corr_spacing : int
- Early-Prompt (EP) and Prompt-Late (PL) correlators spacing.
- acceleration : int
- Acceleration. Valid only when acceleration valid flag is set.
- sync_flags : int
- Synchronization status flags.
- tow_flags : int
- TOW status flags.
- track_flags : int
- Tracking loop status flags.
- nav_flags : int
- Navigation data status flags.
- pset_flags : int
- Parameters sets flags.
- misc_flags : int
- Miscellaneous flags.
- sender : int
- Optional sender ID, defaults to SENDER_ID (see sbp/msg.py).
-
L
¶
-
P
¶
-
P_std
¶
-
acceleration
¶
-
clock_drift
¶
-
clock_offset
¶
-
cn0
¶
-
corr_spacing
¶
-
doppler
¶
-
doppler_std
¶
-
from_binary
(d)[source]¶ Given a binary payload d, update the appropriate payload fields of the message.
-
lock
¶
-
misc_flags
¶
-
pset_flags
¶
-
recv_time
¶
-
sid
¶
-
sync_flags
¶
-
tot
¶
-
tow_flags
¶
-
track_flags
¶
-
uptime
¶
-
class
sbp.tracking.
MsgTrackingStateDetailedDepA
(sbp=None, **kwargs)[source]¶ Bases:
sbp.msg.SBP
SBP class for message MSG_TRACKING_STATE_DETAILED_DEP_A (0x0021).
You can have MSG_TRACKING_STATE_DETAILED_DEP_A inherit its fields directly from an inherited SBP object, or construct it inline using a dict of its fields.
The tracking message returns a set tracking channel parameters for a
single tracking channel useful for debugging issues.
- sbp : SBP
- SBP parent object to inherit from.
- recv_time : int
- Receiver clock time.
- tot : GPSTime
- Time of transmission of signal from satellite. TOW only valid when
TOW status is decoded or propagated. WN only valid when week number valid flag is set.
- P : int
- Pseudorange observation. Valid only when pseudorange valid flag is
set.
- P_std : int
- Pseudorange observation standard deviation. Valid only when
pseudorange valid flag is set.
- L : CarrierPhase
- Carrier phase observation with typical sign convention. Valid only
when PLL pessimistic lock is achieved.
- cn0 : int
- Carrier-to-Noise density
- lock : int
- Lock time. It is encoded according to DF402 from the RTCM 10403.2
Amendment 2 specification. Valid values range from 0 to 15.
- sid : GnssSignal
- GNSS signal identifier.
- doppler : int
- Carrier Doppler frequency.
- doppler_std : int
- Carrier Doppler frequency standard deviation.
- uptime : int
- Number of seconds of continuous tracking. Specifies how much time
signal is in continuous track.
- clock_offset : int
- TCXO clock offset. Valid only when valid clock valid flag is set.
- clock_drift : int
- TCXO clock drift. Valid only when valid clock valid flag is set.
- corr_spacing : int
- Early-Prompt (EP) and Prompt-Late (PL) correlators spacing.
- acceleration : int
- Acceleration. Valid only when acceleration valid flag is set.
- sync_flags : int
- Synchronization status flags.
- tow_flags : int
- TOW status flags.
- track_flags : int
- Tracking loop status flags.
- nav_flags : int
- Navigation data status flags.
- pset_flags : int
- Parameters sets flags.
- misc_flags : int
- Miscellaneous flags.
- sender : int
- Optional sender ID, defaults to SENDER_ID (see sbp/msg.py).
-
L
¶
-
P
¶
-
P_std
¶
-
acceleration
¶
-
clock_drift
¶
-
clock_offset
¶
-
cn0
¶
-
corr_spacing
¶
-
doppler
¶
-
doppler_std
¶
-
from_binary
(d)[source]¶ Given a binary payload d, update the appropriate payload fields of the message.
-
lock
¶
-
misc_flags
¶
-
pset_flags
¶
-
recv_time
¶
-
sid
¶
-
sync_flags
¶
-
tot
¶
-
tow_flags
¶
-
track_flags
¶
-
uptime
¶
-
class
sbp.tracking.
TrackingChannelCorrelation
(payload=None, **kwargs)[source]¶ Bases:
object
TrackingChannelCorrelation.
Structure containing in-phase and quadrature correlation components.
- I : int
- In-phase correlation
- Q : int
- Quadrature correlation
-
I
¶
-
Q
¶
-
class
sbp.tracking.
TrackingChannelState
(payload=None, **kwargs)[source]¶ Bases:
object
TrackingChannelState.
Tracking channel state for a specific satellite signal andmeasured signal power.
- sid : GnssSignal
- GNSS signal being tracked
- fcn : int
- Frequency channel number (GLONASS only)
- cn0 : int
- Carrier-to-Noise density. Zero implies invalid cn0.
-
cn0
¶
-
fcn
¶
-
sid
¶
-
class
sbp.tracking.
TrackingChannelStateDepA
(payload=None, **kwargs)[source]¶ Bases:
object
TrackingChannelStateDepA.
Deprecated.
- state : int
- Status of tracking channel
- prn : int
- PRN-1 being tracked
- cn0 : float
- Carrier-to-noise density
-
cn0
¶
-
prn
¶
-
state
¶