pub struct STATUSTEXT_DATA {
pub severity: MavSeverity,
pub text: [u8; 50],
pub id: u16,
pub chunk_seq: u8,
}
paparazzi
only.Expand description
id: 253 Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz)..
Fields§
§severity: MavSeverity
Severity of status. Relies on the definitions within RFC-5424..
text: [u8; 50]
Status text message, without null termination character.
id: u16
Unique (opaque) identifier for this statustext message. May be used to reassemble a logical long-statustext message from a sequence of chunks. A value of zero indicates this is the only chunk in the sequence and the message can be emitted immediately..
chunk_seq: u8
This chunk’s sequence number; indexing is from zero. Any null character in the text field is taken to mean this was the last chunk..
Implementations§
Source§impl STATUSTEXT_DATA
impl STATUSTEXT_DATA
pub const ENCODED_LEN: usize = 54usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for STATUSTEXT_DATA
impl Clone for STATUSTEXT_DATA
Source§fn clone(&self) -> STATUSTEXT_DATA
fn clone(&self) -> STATUSTEXT_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more