Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes | List of all members
rosflight_firmware::ROSflight Class Reference

#include <rosflight.h>

Public Member Functions

uint32_t get_loop_time_us ()
 
void init ()
 Main initialization routine for the ROSflight autopilot flight stack. More...
 
 ROSflight (Board &board, CommLinkInterface &comm_link)
 
void run ()
 Main loop for the ROSflight autopilot flight stack. More...
 

Public Attributes

Boardboard_
 
CommManager comm_manager_
 
CommandManager command_manager_
 
Controller controller_
 
Estimator estimator_
 
uint32_t loop_time_us
 
Mixer mixer_
 
Params params_
 
RC rc_
 
Sensors sensors_
 
StateManager state_manager_
 

Private Attributes

ParamListenerInterface *const param_listeners_ [num_param_listeners_]
 

Static Private Attributes

static constexpr size_t num_param_listeners_ = 7
 

Detailed Description

Definition at line 53 of file include/rosflight.h.

Constructor & Destructor Documentation

◆ ROSflight()

rosflight_firmware::ROSflight::ROSflight ( Board board,
CommLinkInterface comm_link 
)

Definition at line 38 of file rosflight.cpp.

Member Function Documentation

◆ get_loop_time_us()

uint32_t rosflight_firmware::ROSflight::get_loop_time_us ( )

Definition at line 134 of file rosflight.cpp.

◆ init()

void rosflight_firmware::ROSflight::init ( )

Main initialization routine for the ROSflight autopilot flight stack.

Definition at line 55 of file rosflight.cpp.

◆ run()

void rosflight_firmware::ROSflight::run ( )

Main loop for the ROSflight autopilot flight stack.

Definition at line 100 of file rosflight.cpp.

Member Data Documentation

◆ board_

Board& rosflight_firmware::ROSflight::board_

Definition at line 58 of file include/rosflight.h.

◆ comm_manager_

CommManager rosflight_firmware::ROSflight::comm_manager_

Definition at line 59 of file include/rosflight.h.

◆ command_manager_

CommandManager rosflight_firmware::ROSflight::command_manager_

Definition at line 63 of file include/rosflight.h.

◆ controller_

Controller rosflight_firmware::ROSflight::controller_

Definition at line 64 of file include/rosflight.h.

◆ estimator_

Estimator rosflight_firmware::ROSflight::estimator_

Definition at line 65 of file include/rosflight.h.

◆ loop_time_us

uint32_t rosflight_firmware::ROSflight::loop_time_us

Definition at line 71 of file include/rosflight.h.

◆ mixer_

Mixer rosflight_firmware::ROSflight::mixer_

Definition at line 66 of file include/rosflight.h.

◆ num_param_listeners_

constexpr size_t rosflight_firmware::ROSflight::num_param_listeners_ = 7
staticprivate

Definition at line 86 of file include/rosflight.h.

◆ param_listeners_

ParamListenerInterface* const rosflight_firmware::ROSflight::param_listeners_[num_param_listeners_]
private
Initial value:

Definition at line 87 of file include/rosflight.h.

◆ params_

Params rosflight_firmware::ROSflight::params_

Definition at line 61 of file include/rosflight.h.

◆ rc_

RC rosflight_firmware::ROSflight::rc_

Definition at line 67 of file include/rosflight.h.

◆ sensors_

Sensors rosflight_firmware::ROSflight::sensors_

Definition at line 68 of file include/rosflight.h.

◆ state_manager_

StateManager rosflight_firmware::ROSflight::state_manager_

Definition at line 69 of file include/rosflight.h.


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


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