mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-21 20:04:09 +08:00
20a9d7204b
check kill_throttle instead of autopilot_motors_on so it works for fixedwing firmware as well. closes #806
25 lines
736 B
XML
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>
|