Skip to content

Commit

Permalink
[modules] geo_mag: move WMM2010 model to math/pprz_geodetic_wmm2010
Browse files Browse the repository at this point in the history
  • Loading branch information
flixr committed Oct 5, 2012
1 parent 065fe11 commit 01d80d3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion conf/modules/geo_mag.xml
Expand Up @@ -15,7 +15,9 @@
<event fun="geo_mag_event()"/><!---->
<makefile>
<file name="geo_mag.c"/>
<file name="wmm2010.c"/>
<define name="USE_GEO_MAG"/>
<raw>
$(TARGET).srcs += math/pprz_geodetic_wmm2010.c
</raw>
</makefile>
</module>
Expand Up @@ -7,7 +7,7 @@
*/

#include "std.h"
#include "wmm2010.h"
#include "math/pprz_geodetic_wmm2010.h"

const double gh1[MAXCOEFF] = {
0.0,-29496.6,-1586.3,4944.4,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion sw/airborne/modules/geo_mag/geo_mag.c
Expand Up @@ -7,7 +7,7 @@
*/

#include "modules/geo_mag/geo_mag.h"
#include "modules/geo_mag/wmm2010.h"
#include "math/pprz_geodetic_wmm2010.h"
#include "math/pprz_algebra_double.h"
#include "subsystems/gps.h"
#include "autopilot.h"
Expand Down
1 change: 0 additions & 1 deletion sw/airborne/modules/geo_mag/geo_mag.h
Expand Up @@ -10,7 +10,6 @@
#define GEO_MAG_H

#include "std.h"
#include "wmm2010.h"

struct GeoMagVect {
double x;
Expand Down

0 comments on commit 01d80d3

Please sign in to comment.