Files
paparazzi/conf/modules/geo_mag.xml
T
Felix Ruess 20a9d7204b [modules] geo_mag: fixedwing compatibility
check kill_throttle instead of autopilot_motors_on so it works for fixedwing firmware as well.
closes #806
2014-08-18 08:58:34 +02:00

25 lines
736 B
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="geo_mag" dir="geo_mag">
<doc>
<description>
GeoMagnetic field vector.
Calculation of the normalized geomagnetic field vector (saved to ahrs_impl.mag_h) at startup using GPS fix.
Based on the WMM2010 model (http://www.ngdc.noaa.gov/geomag/models.shtml).
</description>
</doc>
<header>
<file name="geo_mag.h"/>
</header>
<init fun="geo_mag_init()"/>
<periodic fun="geo_mag_periodic()" freq="1"/>
<event fun="geo_mag_event()"/>
<makefile target="ap|nps">
<file name="geo_mag.c"/>
<file name="pprz_geodetic_wmm2010.c" dir="math"/>
</makefile>
<makefile target="nps">
<define name="NPS_CALC_GEO_MAG"/>
</makefile>
</module>