mirror of https://github.com/ArduPilot/ardupilot
SITL: build the whole simulator as double precision
This commit is contained in:
parent
ba7d94d5ad
commit
3e3c086ab7
|
@ -16,8 +16,6 @@
|
|||
Balance Bot simulator class
|
||||
*/
|
||||
|
||||
#define ALLOW_DOUBLE_MATH_FUNCTIONS
|
||||
|
||||
#include "SIM_BalanceBot.h"
|
||||
#include <stdio.h>
|
||||
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
Blimp simulator class
|
||||
*/
|
||||
|
||||
#define ALLOW_DOUBLE_MATH_FUNCTIONS
|
||||
|
||||
#include "SIM_Blimp.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
|
||||
#include <time.h>
|
||||
|
||||
#define ALLOW_DOUBLE_MATH_FUNCTIONS
|
||||
|
||||
#include <assert.h>
|
||||
#include <AP_BoardConfig/AP_BoardConfig.h>
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
#define ALLOW_DOUBLE_MATH_FUNCTIONS
|
||||
|
||||
#include "SIM_MS5611.h"
|
||||
|
||||
#include <SITL/SITL.h>
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
just enough to be able to debug control logic for new frame types
|
||||
*/
|
||||
|
||||
#define ALLOW_DOUBLE_MATH_FUNCTIONS
|
||||
|
||||
#include "SIM_Plane.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
SITL.cpp - software in the loop state
|
||||
*/
|
||||
|
||||
#define ALLOW_DOUBLE_MATH_FUNCTIONS
|
||||
|
||||
#include "SITL.h"
|
||||
|
||||
#if AP_SIM_ENABLED
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
def configure(cfg):
|
||||
cfg.env.DOUBLE_PRECISION_SOURCES['SITL'] = ['SIM_Aircraft.cpp']
|
||||
cfg.env.DOUBLE_PRECISION_LIBRARIES['SITL'] = True
|
||||
|
|
Loading…
Reference in New Issue