Public Member Functions | Public Attributes | List of all members
CommandManagerTest Class Reference
Inheritance diagram for CommandManagerTest:
Inheritance graph
[legend]

Public Member Functions

 CommandManagerTest ()
 
void setOffboard (control_t &command)
 
void SetUp () override
 
void stepFirmware (uint32_t us)
 

Public Attributes

testBoard board
 
Mavlink mavlink
 
float max_pitch
 
float max_roll
 
float max_yawrate
 
control_t offboard_command
 
uint16_t rc_values [8]
 
ROSflight rf
 

Detailed Description

Definition at line 22 of file command_manager_test.cpp.

Constructor & Destructor Documentation

◆ CommandManagerTest()

CommandManagerTest::CommandManagerTest ( )
inline

Definition at line 38 of file command_manager_test.cpp.

Member Function Documentation

◆ setOffboard()

void CommandManagerTest::setOffboard ( control_t command)
inline

Definition at line 58 of file command_manager_test.cpp.

◆ SetUp()

void CommandManagerTest::SetUp ( )
inlineoverride

Definition at line 40 of file command_manager_test.cpp.

◆ stepFirmware()

void CommandManagerTest::stepFirmware ( uint32_t  us)
inline

Definition at line 64 of file command_manager_test.cpp.

Member Data Documentation

◆ board

testBoard CommandManagerTest::board

Definition at line 25 of file command_manager_test.cpp.

◆ mavlink

Mavlink CommandManagerTest::mavlink

Definition at line 26 of file command_manager_test.cpp.

◆ max_pitch

float CommandManagerTest::max_pitch

Definition at line 30 of file command_manager_test.cpp.

◆ max_roll

float CommandManagerTest::max_roll

Definition at line 30 of file command_manager_test.cpp.

◆ max_yawrate

float CommandManagerTest::max_yawrate

Definition at line 30 of file command_manager_test.cpp.

◆ offboard_command

control_t CommandManagerTest::offboard_command
Initial value:
= {20000,
{true, ANGLE, OFFBOARD_X},
{true, ANGLE, OFFBOARD_Y},
{true, RATE, OFFBOARD_Z},
{true, THROTTLE, OFFBOARD_F}}

Definition at line 32 of file command_manager_test.cpp.

◆ rc_values

uint16_t CommandManagerTest::rc_values[8]

Definition at line 29 of file command_manager_test.cpp.

◆ rf

ROSflight CommandManagerTest::rf

Definition at line 27 of file command_manager_test.cpp.


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


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Mon Feb 28 2022 23:36:18