#include <msp_msg.hpp>
Public Member Functions | |
virtual ByteVectorUptr | encode () const override |
Encode all data into a ByteVector. | |
virtual ID | id () const override |
get the ID of the message | |
SetMotor (FirmwareVariant v) | |
Public Attributes | |
std::array< uint16_t, N_MOTOR > | motor |
Definition at line 4482 of file msp_msg.hpp.
msp::msg::SetMotor::SetMotor | ( | FirmwareVariant | v | ) | [inline] |
Definition at line 4483 of file msp_msg.hpp.
virtual ByteVectorUptr msp::msg::SetMotor::encode | ( | ) | const [inline, override, virtual] |
Encode all data into a ByteVector.
Reimplemented from msp::Message.
Definition at line 4489 of file msp_msg.hpp.
virtual ID msp::msg::SetMotor::id | ( | ) | const [inline, override, virtual] |
get the ID of the message
Implements msp::Message.
Definition at line 4485 of file msp_msg.hpp.
std::array<uint16_t, N_MOTOR> msp::msg::SetMotor::motor |
Definition at line 4487 of file msp_msg.hpp.