mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-18 08:54:15 +01:00
Fixed problems that blocked compiling on Windows
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3153 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
9f5c393672
commit
697b8d2a13
@ -135,7 +135,7 @@ private slots:
|
||||
void savePositionData();
|
||||
void computeScaleBias();
|
||||
void multiPointCalibrationMode();
|
||||
void sixPointCalibrationMode();
|
||||
// void sixPointCalibrationMode(); // this function no longer exists
|
||||
void attitudeRawUpdated(UAVObject * obj);
|
||||
void accelBiasattitudeRawUpdated(UAVObject*);
|
||||
void driftCalibrationAttitudeRawUpdated(UAVObject*);
|
||||
|
@ -39,6 +39,16 @@
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
||||
#if defined(__APPLE__) || defined(_WIN32)
|
||||
// Qt bug work around
|
||||
#ifndef isnan
|
||||
extern "C" int isnan(double);
|
||||
#endif
|
||||
#ifndef isinf
|
||||
extern "C" int isinf(double);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Alas, this implementation is a fairly direct copy of the contents of the
|
||||
* following papers. You don't have a chance at understanding it without
|
||||
|
Loading…
x
Reference in New Issue
Block a user