dRonin
adbada4
dRonin firmware
|
Utilities to validate a flight configuration. More...
#include "openpilot.h"
#include "taskmonitor.h"
#include <pios_board_info.h>
#include "flightstatus.h"
#include "sanitycheck.h"
#include "manualcontrolsettings.h"
#include "stabilizationsettings.h"
#include "stateestimation.h"
#include "systemalarms.h"
#include "systemsettings.h"
#include "systemident.h"
#include "pios_sensors.h"
Go to the source code of this file.
Functions | |
static int32_t | check_safe_to_arm () |
Check it is safe to arm in this position. More... | |
static int32_t | check_stabilization_settings (int index, bool multirotor) |
Check a stabilization mode switch position for safety. More... | |
static int32_t | check_stabilization_rates () |
Check a stabilization mode switch position for safety. More... | |
static int32_t | check_safe_autonomous () |
Check the system is safe for autonomous flight. More... | |
bool | lqg_sysident_check () |
int32_t | configuration_check () |
DONT_BUILD_IF (MANUALCONTROLSETTINGS_STABILIZATION1SETTINGS_NUMELEM!=MANUALCONTROLSETTINGS_STABILIZATION2SETTINGS_NUMELEM, StabSettingsNumElem) | |
DONT_BUILD_IF (MANUALCONTROLSETTINGS_STABILIZATION1SETTINGS_NUMELEM!=MANUALCONTROLSETTINGS_STABILIZATION3SETTINGS_NUMELEM, StabSettingsNumElem2) | |
void | set_config_error (SystemAlarmsConfigErrorOptions error_code) |
Utilities to validate a flight configuration.
Definition in file sanitycheck.c.