QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCMath.cc File Reference
#include "QGCMath.h"
#include <QtCore/QtNumeric>
#include <cmath>
#include <float.h>
+ Include dependency graph for QGCMath.cc:

Go to the source code of this file.

Namespaces

namespace  QGC
 

Macros

#define _USE_MATH_DEFINES
 

Functions

float QGC::limitAngleToPMPIf (double angle)
 
double QGC::limitAngleToPMPId (double angle)
 
quint32 QGC::crc32 (const quint8 *src, unsigned len, unsigned state)
 
bool QGC::fuzzyCompare (double value1, double value2)
 Returns true if the two values are equal or close. Correctly handles 0 and NaN values.
 
bool QGC::fuzzyCompare (double value1, double value2, double tolerance)
 
bool QGC::fuzzyCompare (float value1, float value2)
 
bool QGC::fuzzyCompare (float value1, float value2, float tolerance)
 

Variables

static const quint32 QGC::crctab []
 

Macro Definition Documentation

◆ _USE_MATH_DEFINES

#define _USE_MATH_DEFINES

Definition at line 2 of file QGCMath.cc.