Updated geo lib C/C++ interfacing

This commit is contained in:
Lorenz Meier 2014-04-28 20:44:11 +02:00
parent 9c81ab113e
commit ec50f73cbe
2 changed files with 4 additions and 2 deletions

View File

@ -48,10 +48,10 @@
#include "uORB/topics/fence.h" #include "uORB/topics/fence.h"
#include "uORB/topics/vehicle_global_position.h" #include "uORB/topics/vehicle_global_position.h"
#include "geo/geo_mag_declination.h"
__BEGIN_DECLS __BEGIN_DECLS
#include "geo/geo_mag_declination.h"
#include <stdbool.h> #include <stdbool.h>
#define CONSTANTS_ONE_G 9.80665f /* m/s^2 */ #define CONSTANTS_ONE_G 9.80665f /* m/s^2 */

View File

@ -43,6 +43,8 @@
* *
*/ */
#include <geo/geo.h>
/** set this always to the sampling in degrees for the table below */ /** set this always to the sampling in degrees for the table below */
#define SAMPLING_RES 10 #define SAMPLING_RES 10