|
QGroundControl
Ground Control Station for MAVLink Drones
|
Functions | |
| float | limitAngleToPMPIf (double angle) |
| double | limitAngleToPMPId (double angle) |
| quint32 | crc32 (const quint8 *src, unsigned len, unsigned state) |
| bool | fuzzyCompare (double value1, double value2) |
| Returns true if the two values are equal or close. Correctly handles 0 and NaN values. | |
| bool | fuzzyCompare (double value1, double value2, double tolerance) |
| bool | fuzzyCompare (float value1, float value2) |
| bool | fuzzyCompare (float value1, float value2, float tolerance) |
Variables | |
| static const quint32 | crctab [] |
| 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.
Definition at line 106 of file QGC.cc.
Referenced by VisualMissionItem::setAltDifference(), VisualMissionItem::setAltPercent(), VisualMissionItem::setAzimuth(), FlightPathSegment::setCoord1AMSLAlt(), FlightPathSegment::setCoord2AMSLAlt(), VisualMissionItem::setDistance(), VisualMissionItem::setDistanceFromStart(), VisualMissionItem::setMissionFlightStatus(), SimpleMissionItem::setMissionFlightStatus(), StructureScanComplexItem::setMissionFlightStatus(), TransectStyleComplexItem::setMissionFlightStatus(), VisualMissionItem::setMissionVehicleYaw(), VisualMissionItem::setTerrainPercent(), and VTOLLandingComplexItem::VTOLLandingComplexItem().
| bool QGC::fuzzyCompare | ( | double | value1, |
| double | value2, | ||
| double | tolerance | ||
| ) |
| bool QGC::fuzzyCompare | ( | float | value1, |
| float | value2, | ||
| float | tolerance | ||
| ) |