SITL: Make SIM_Aircraft use double precision to stop SITL's short-range teleporting

This commit is contained in:
Michelle Rossouw 2023-08-10 20:59:20 +10:00 committed by Andrew Tridgell
parent a900921f95
commit e4d44c1006
2 changed files with 2 additions and 2 deletions

View File

@ -16,8 +16,6 @@
parent class for aircraft simulators
*/
#define ALLOW_DOUBLE_MATH_FUNCTIONS
#include "SIM_Aircraft.h"
#include <stdio.h>

2
libraries/SITL/wscript Normal file
View File

@ -0,0 +1,2 @@
def configure(cfg):
cfg.env.DOUBLE_PRECISION_SOURCES['SITL'] = ['SIM_Aircraft.cpp']