forked from Archive/PX4-Autopilot
TECS: use constant from geo
This commit is contained in:
parent
83f66e4599
commit
79d2e5de6c
|
@ -38,7 +38,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <drivers/drv_hrt.h>
|
#include <drivers/drv_hrt.h>
|
||||||
#include <geo/geo.h>
|
|
||||||
|
|
||||||
#define ecl_absolute_time hrt_absolute_time
|
#define ecl_absolute_time hrt_absolute_time
|
||||||
#define ecl_elapsed_time hrt_elapsed_time
|
#define ecl_elapsed_time hrt_elapsed_time
|
||||||
|
|
|
@ -3,13 +3,10 @@
|
||||||
#include "tecs.h"
|
#include "tecs.h"
|
||||||
#include <ecl/ecl.h>
|
#include <ecl/ecl.h>
|
||||||
#include <systemlib/err.h>
|
#include <systemlib/err.h>
|
||||||
|
#include <geo/geo.h>
|
||||||
|
|
||||||
using namespace math;
|
using namespace math;
|
||||||
|
|
||||||
#ifndef CONSTANTS_ONE_G
|
|
||||||
#define CONSTANTS_ONE_G GRAVITY
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @file tecs.cpp
|
* @file tecs.cpp
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue