Public Member Functions | Public Attributes
msp::msg::SetMotor Struct Reference

#include <msp_msg.hpp>

Inheritance diagram for msp::msg::SetMotor:
Inheritance graph
[legend]

List of all members.

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_MOTORmotor

Detailed Description

Definition at line 4482 of file msp_msg.hpp.


Constructor & Destructor Documentation

Definition at line 4483 of file msp_msg.hpp.


Member Function Documentation

virtual ByteVectorUptr msp::msg::SetMotor::encode ( ) const [inline, override, virtual]

Encode all data into a ByteVector.

Returns:
Unique pointer to a ByteVector of data

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

Returns:
ID

Implements msp::Message.

Definition at line 4485 of file msp_msg.hpp.


Member Data Documentation

std::array<uint16_t, N_MOTOR> msp::msg::SetMotor::motor

Definition at line 4487 of file msp_msg.hpp.


The documentation for this struct was generated from the following file:


msp
Author(s): Christian Rauch
autogenerated on Thu Jun 20 2019 19:40:38