pub type FailureType = FailureType;Expand description
Originally defined in common::enums::failure_type
Aliased Type§
#[repr(u8)]pub enum FailureType {
Ok = 0,
Off = 1,
Stuck = 2,
Garbage = 3,
Wrong = 4,
Slow = 5,
Delayed = 6,
Intermittent = 7,
}Variants§
Ok = 0
MAVLink enum entry FAILURE_TYPE_OK.
No failure injected, used to reset a previous failure.
Off = 1
MAVLink enum entry FAILURE_TYPE_OFF.
Sets unit off, so completely non-responsive.
Stuck = 2
MAVLink enum entry FAILURE_TYPE_STUCK.
Unit is stuck e.g. keeps reporting the same value.
Garbage = 3
MAVLink enum entry FAILURE_TYPE_GARBAGE.
Unit is reporting complete garbage.
Wrong = 4
MAVLink enum entry FAILURE_TYPE_WRONG.
Unit is consistently wrong.
Slow = 5
MAVLink enum entry FAILURE_TYPE_SLOW.
Unit is slow, so e.g. reporting at slower than expected rate.
Delayed = 6
MAVLink enum entry FAILURE_TYPE_DELAYED.
Data of unit is delayed in time.
Intermittent = 7
MAVLink enum entry FAILURE_TYPE_INTERMITTENT.
Unit is sometimes working, sometimes not.