|
Paparazzi UAS
v6.2.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Log data required to compute control effectiveness. More...
#include "modules/loggers/logger_control_effectiveness.h"#include "modules/loggers/sdlog_chibios.h"#include "mcu_periph/sys_time.h"#include "state.h"
Include dependency graph for logger_control_effectiveness.c:Go to the source code of this file.
Macros | |
| #define | LOGGER_CONTROL_EFFECTIVENESS_COMMANDS TRUE |
| #define | LOGGER_CONTROL_EFFECTIVENESS_ACTUATORS FALSE |
| #define | LOGGER_CONTROL_EFFECTIVENESS_POS FALSE |
| #define | LOGGER_CONTROL_EFFECTIVENESS_SPEED FALSE |
| #define | LOGGER_CONTROL_EFFECTIVENESS_AIRSPEED FALSE |
Functions | |
| void | logger_control_effectiveness_start (void) |
| Write the log header line according to the enabled parts. More... | |
| void | logger_control_effectiveness_periodic (void) |
| Log the values to file. More... | |
Log data required to compute control effectiveness.
Definition in file logger_control_effectiveness.c.
| #define LOGGER_CONTROL_EFFECTIVENESS_ACTUATORS FALSE |
Definition at line 38 of file logger_control_effectiveness.c.
| #define LOGGER_CONTROL_EFFECTIVENESS_AIRSPEED FALSE |
Definition at line 50 of file logger_control_effectiveness.c.
| #define LOGGER_CONTROL_EFFECTIVENESS_COMMANDS TRUE |
Definition at line 34 of file logger_control_effectiveness.c.
| #define LOGGER_CONTROL_EFFECTIVENESS_POS FALSE |
Definition at line 42 of file logger_control_effectiveness.c.
| #define LOGGER_CONTROL_EFFECTIVENESS_SPEED FALSE |
Definition at line 46 of file logger_control_effectiveness.c.
| void logger_control_effectiveness_periodic | ( | void | ) |
Log the values to file.
Definition at line 98 of file logger_control_effectiveness.c.
References commands, get_sys_time_float(), Int32Rates::p, pprzLogFile, Int32Rates::q, Int32Rates::r, stabilization_cmd, stateGetAccelBody_i(), stateGetAirspeed_f(), stateGetBodyRates_i(), stateGetPositionEnu_i(), stateGetSpeedEnu_i(), Int32Vect3::x, EnuCoor_i::x, Int32Vect3::y, EnuCoor_i::y, Int32Vect3::z, and EnuCoor_i::z.
Here is the call graph for this function:| void logger_control_effectiveness_start | ( | void | ) |
Write the log header line according to the enabled parts.
Definition at line 69 of file logger_control_effectiveness.c.
References pprzLogFile.