QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGC.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtCore/QtTypes>
4
5namespace QGC
6{
7 float limitAngleToPMPIf(double angle);
8 double limitAngleToPMPId(double angle);
9
11 bool fuzzyCompare(double value1, double value2);
12 bool fuzzyCompare(float value1, float value2);
13 bool fuzzyCompare(double value1, double value2, double tolerance);
14 bool fuzzyCompare(float value1, float value2, float tolerance);
15
16 quint32 crc32(const quint8 *src, unsigned len, unsigned state);
17}
Definition QGC.cc:8
quint32 crc32(const quint8 *src, unsigned len, unsigned state)
Definition QGC.cc:97
double limitAngleToPMPId(double angle)
Definition QGC.cc:33
bool fuzzyCompare(double value1, double value2)
Returns true if the two values are equal or close. Correctly handles 0 and NaN values.
Definition QGC.cc:106
float limitAngleToPMPIf(double angle)
Definition QGC.cc:10