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 54 of file include/rosflight.h.

Constructor & Destructor Documentation

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

Definition at line 38 of file rosflight.cpp.

Member Function Documentation

uint32_t rosflight_firmware::ROSflight::get_loop_time_us ( )

Definition at line 129 of file rosflight.cpp.

void rosflight_firmware::ROSflight::init ( )

Main initialization routine for the ROSflight autopilot flight stack.

Definition at line 55 of file rosflight.cpp.

void rosflight_firmware::ROSflight::run ( )

Main loop for the ROSflight autopilot flight stack.

Definition at line 95 of file rosflight.cpp.

Member Data Documentation

Board& rosflight_firmware::ROSflight::board_

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

CommManager rosflight_firmware::ROSflight::comm_manager_

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

CommandManager rosflight_firmware::ROSflight::command_manager_

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

Controller rosflight_firmware::ROSflight::controller_

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

Estimator rosflight_firmware::ROSflight::estimator_

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

uint32_t rosflight_firmware::ROSflight::loop_time_us

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

Mixer rosflight_firmware::ROSflight::mixer_

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

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

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

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

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

Params rosflight_firmware::ROSflight::params_

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

RC rosflight_firmware::ROSflight::rc_

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

Sensors rosflight_firmware::ROSflight::sensors_

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

StateManager rosflight_firmware::ROSflight::state_manager_

Definition at line 71 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 Thu Oct 24 2019 03:17:24