dRonin
adbada4
dRonin firmware
|
ManualControl module. Handles safety R/C link and flight mode. More...
#include "openpilot.h"
#include "pios_thread.h"
#include "pios_rcvr.h"
#include "control.h"
#include "failsafe_control.h"
#include "tablet_control.h"
#include "transmitter_control.h"
#include "geofence_control.h"
#include "flightstatus.h"
#include "manualcontrolcommand.h"
#include "manualcontrolsettings.h"
#include "systemalarms.h"
Go to the source code of this file.
Macros | |
#define | STACK_SIZE_BYTES 1200 |
#define | TASK_PRIORITY PIOS_THREAD_PRIO_HIGHEST |
#define | UPDATE_PERIOD_MS 20 |
#define | GO_STATE(x) |
Functions | |
static void | manualControlTask (void *parameters) |
static FlightStatusControlSourceOptions | control_source_select () |
control_source_select Determine which sub-module to use for the main control source of the flight controller. More... | |
bool | ok_to_arm (void) |
Determine if the aircraft is safe to arm based on alarms. More... | |
int32_t | ManualControlStart () |
int32_t | ManualControlInitialize () |
MODULE_HIPRI_INITCALL (ManualControlInitialize, ManualControlStart) | |
Variables | |
static struct pios_thread * | taskHandle |
bool | vehicle_is_armed = false |
ManualControl module. Handles safety R/C link and flight mode.
Definition in file manualcontrol.c.
#define GO_STATE | ( | x | ) |