Simulated IMU for NPS.
No detailed description...
Example for airframe file
Add to your firmware section:
1 <module name="imu_nps"/>
Auto-loaded modules
The following modules are automatically loaded (just as if you had added them in the airframe file)
Module functions
Init Functions
These initialization functions are called once on startup.
Event Functions
These event functions are called in each cycle of the module event loop.
Files
Header Files
The following headers are automatically included in modules.h
Source Files
Raw imu_nps.xml file:
<!DOCTYPE module SYSTEM "module.dtd">
<module name="imu_nps" dir="imu">
<doc>
<description>
Simulated IMU for NPS.
</description>
</doc>
<autoload name="imu_common"/>
<header>
<file name="imu_nps.h" dir="subsystems/imu"/>
</header>
<init fun="imu_nps_init()"/>
<event fun="imu_nps_event()"/>
<makefile target="nps|hitl">
<define name="IMU_TYPE_H" value="subsystems/imu/imu_nps.h" type="string"/>
<file name="imu_nps.c" dir="subsystems/imu"/>
</makefile>
</module>