SITL: Make SIM_Aircraft use double precision to stop SITL's short-range teleporting
This commit is contained in:
parent
a900921f95
commit
e4d44c1006
@ -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
2
libraries/SITL/wscript
Normal file
@ -0,0 +1,2 @@
|
||||
def configure(cfg):
|
||||
cfg.env.DOUBLE_PRECISION_SOURCES['SITL'] = ['SIM_Aircraft.cpp']
|
Loading…
Reference in New Issue
Block a user