Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
soaring_flight_averager.h File Reference

specialized averager for circling and straight flight More...

#include <AHRS.h>
#include "pt2.h"
#include "embedded_math.h"

Go to the source code of this file.

Classes

class  soaring_flight_averager< value_t, CLAMP_OUTPUT_FIRST_CIRCLE, SOFT_TAKEOFF >
 template for an average filter for circling and straight flight More...
 

Macros

#define SQR(x)   ((x)*(x))
 
#define ONE_DIV_2PI   0.159155f
 
#define PI_TIMES_2   6.2832f
 

Detailed Description

specialized averager for circling and straight flight

Author
Dr. Klaus Schaefer

<Larus Flight Sensor Firmware>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Definition in file soaring_flight_averager.h.

Macro Definition Documentation

◆ ONE_DIV_2PI

#define ONE_DIV_2PI   0.159155f

Definition at line 33 of file soaring_flight_averager.h.

◆ PI_TIMES_2

#define PI_TIMES_2   6.2832f

Definition at line 34 of file soaring_flight_averager.h.

◆ SQR

#define SQR (   x)    ((x)*(x))

Definition at line 29 of file soaring_flight_averager.h.