#include <msp_msg.hpp>
Public Member Functions | |
virtual ByteVectorUptr | encode () const override |
Encode all data into a ByteVector. More... | |
virtual ID | id () const override |
get the ID of the message More... | |
SetFailsafeConfig (FirmwareVariant v) | |
Public Member Functions inherited from msp::Message | |
virtual bool | decode (const ByteVector &) |
Decode message contents from a ByteVector. More... | |
FirmwareVariant | getFirmwareVariant () const |
Queries the firmware variant the message works with. More... | |
Message (FirmwareVariant v) | |
Message constructor accepting a FirmwareVariant. More... | |
virtual std::ostream & | print (std::ostream &s) const |
void | setFirmwareVariant (FirmwareVariant v) |
Set the firmware the message should work with. More... | |
virtual | ~Message () |
Message destructor. More... | |
Additional Inherited Members | |
Public Attributes inherited from msp::msg::FailsafeSettings | |
Value< uint8_t > | delay |
bool | extended_contents |
Value< uint16_t > | fw_pitch_angle |
Value< uint16_t > | fw_roll_angle |
Value< uint16_t > | fw_yaw_rate |
Value< uint8_t > | kill_switch |
Value< uint16_t > | min_distance |
Value< uint8_t > | min_distance_procedure |
Value< uint8_t > | off_delay |
Value< uint8_t > | procedure |
Value< uint8_t > | recovery_delay |
Value< uint16_t > | stick_motion_threshold |
Value< uint16_t > | throttle |
Value< uint16_t > | throttle_low_delay |
Protected Attributes inherited from msp::Message | |
FirmwareVariant | fw_variant |
Definition at line 1951 of file msp_msg.hpp.
|
inline |
Definition at line 1952 of file msp_msg.hpp.
|
inlineoverridevirtual |
Encode all data into a ByteVector.
Reimplemented from msp::Message.
Definition at line 1956 of file msp_msg.hpp.
|
inlineoverridevirtual |
get the ID of the message
Implements msp::Message.
Definition at line 1954 of file msp_msg.hpp.