RadioLinkStats class
Radio link statistics. Should be emitted only by components with component id MAV_COMP_ID_TELEMETRY_RADIO. Per default, rssi values are in MAVLink units: 0 represents weakest signal, 254 represents maximum signal; can be changed to dBm with the flag RADIO_LINK_STATS_FLAGS_RSSI_DBM.
RADIO_LINK_STATS
- Implemented types
Constructors
- RadioLinkStats({required RadioLinkStatsFlags flags, required uint8_t rxLq, required uint8_t rxRssi1, required int8_t rxSnr1, required uint8_t rxRssi2, required int8_t rxSnr2, required uint8_t rxReceiveAntenna, required uint8_t rxTransmitAntenna, required uint8_t txLq, required uint8_t txRssi1, required int8_t txSnr1, required uint8_t txRssi2, required int8_t txSnr2, required uint8_t txReceiveAntenna, required uint8_t txTransmitAntenna})
- RadioLinkStats.parse(ByteData data_)
-
factory
Properties
- flags → RadioLinkStatsFlags
-
Radio link statistics flags.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- mavlinkCrcExtra → int
-
no setteroverride
- mavlinkMessageId → int
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- rxLq → uint8_t
-
Values: 0..100. UINT8_MAX: invalid/unknown.
final
- rxReceiveAntenna → uint8_t
-
0: antenna1, 1: antenna2, UINT8_MAX: ignore, no Rx receive diversity, use rx_rssi1, rx_snr1.
final
- rxRssi1 → uint8_t
-
Rssi of antenna1. UINT8_MAX: invalid/unknown.
final
- rxRssi2 → uint8_t
-
Rssi of antenna2. UINT8_MAX: ignore/unknown, use rx_rssi1.
final
- rxSnr1 → int8_t
-
Noise on antenna1. Radio dependent. INT8_MAX: invalid/unknown.
final
- rxSnr2 → int8_t
-
Noise on antenna2. Radio dependent. INT8_MAX: ignore/unknown, use rx_snr1.
final
- rxTransmitAntenna → uint8_t
-
0: antenna1, 1: antenna2, UINT8_MAX: ignore, no Rx transmit diversity.
final
- txLq → uint8_t
-
Values: 0..100. UINT8_MAX: invalid/unknown.
final
- txReceiveAntenna → uint8_t
-
0: antenna1, 1: antenna2, UINT8_MAX: ignore, no Tx receive diversity, use tx_rssi1, tx_snr1.
final
- txRssi1 → uint8_t
-
Rssi of antenna1. UINT8_MAX: invalid/unknown.
final
- txRssi2 → uint8_t
-
Rssi of antenna2. UINT8_MAX: ignore/unknown, use tx_rssi1.
final
- txSnr1 → int8_t
-
Noise on antenna1. Radio dependent. INT8_MAX: invalid/unknown.
final
- txSnr2 → int8_t
-
Noise on antenna2. Radio dependent. INT8_MAX: ignore/unknown, use tx_snr1.
final
- txTransmitAntenna → uint8_t
-
0: antenna1, 1: antenna2, UINT8_MAX: ignore, no Tx transmit diversity.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(
) → ByteData -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- mavlinkEncodedLength → const int