dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
vtolpathfollower.c File Reference

Compute attitude to achieve a path for VTOL aircrafts. More...

#include "openpilot.h"
#include "physical_constants.h"
#include "misc_math.h"
#include "paths.h"
#include "pid.h"
#include "pios_thread.h"
#include "vtol_follower_priv.h"
#include "acceldesired.h"
#include "altitudeholdsettings.h"
#include "altitudeholdstate.h"
#include "modulesettings.h"
#include "pathdesired.h"
#include "flightstatus.h"
#include "pathstatus.h"
#include "stabilizationdesired.h"
#include "systemsettings.h"
#include "velocitydesired.h"
#include "vtolpathfollowersettings.h"
#include "vtolpathfollowerstatus.h"
#include "coordinate_conversions.h"

Go to the source code of this file.

Macros

#define MAX_QUEUE_SIZE   4
 
#define STACK_SIZE_BYTES   1548
 
#define TASK_PRIORITY   PIOS_THREAD_PRIO_NORMAL
 

Functions

static void vtolPathFollowerTask (void *parameters)
 
int32_t VtolPathFollowerStart ()
 
int32_t VtolPathFollowerInitialize ()
 
 MODULE_INITCALL (VtolPathFollowerInitialize, VtolPathFollowerStart)
 

Variables

VtolPathFollowerSettingsData vtol_guidanceSettings
 
float vtol_dT = 0.050f
 
static struct pios_thread * pathfollowerTaskHandle
 
static struct pios_queuequeue
 
static bool module_enabled = false
 
struct pid vtol_pids [VTOL_PID_NUM]
 
volatile bool settings_updated = true
 

Detailed Description

Compute attitude to achieve a path for VTOL aircrafts.

Author
dRonin, http://dRonin.org/, Copyright (C) 2015-2016
Tau Labs, http://taulabs.org, Copyright (C) 2013-2014 Runs the VTOL follower FSM which then calls the lower VTOL navigation control algorithms as appropriate.
See Also
The GNU Public License (GPL) Version 3

Definition in file vtolpathfollower.c.