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

Virtual flybar control mode. More...

#include "openpilot.h"
#include "physical_constants.h"
#include "pid.h"
#include "stabilization.h"
#include "vbarsettings.h"

Go to the source code of this file.

Functions

static float bound (float val, float range)
 Private methods. More...
 
int stabilization_virtual_flybar (float gyro, float command, float *output, float dT, bool reinit, uint32_t axis, struct pid *pid, VbarSettingsData *settings)
 
int stabilization_virtual_flybar_pirocomp (float z_gyro, float dT)
 

Variables

static float vbar_integral [MAX_AXES]
 Private variables. More...
 
float vbar_decay
 

Detailed Description

Virtual flybar control mode.

Author
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2012.
Tau Labs, http://taulabs.org, Copyright (C) 2013
See Also
The GNU Public License (GPL) Version 3

Definition in file virtualflybar.c.