mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-10 06:59:54 +08:00
dfd8e93927
* [generator] generate unique ID and names table for modules * [state] add accessors for the state origin * [state] don't access directly to state origin, use getters * [state] filter inputs with module ID * [ahrs] convert AHRS modules to state input filter - selection of ahrs with settings from each module - init functions for each ahrs modules - remove old chimu * update unit test * [ins] decoupled INS implementation To allow multiple INS at the same time: - remove weak functions from ins.c - remove the INS_TYPE_H define - use ABI message to trigger INS reset * [state] protect for c++
34 lines
1004 B
XML
34 lines
1004 B
XML
<!DOCTYPE module SYSTEM "module.dtd">
|
|
|
|
<module name="ins_ext_pose" dir="ins">
|
|
<doc>
|
|
<description>
|
|
Extened Kalman filter based on https://en.wikipedia.org/wiki/Extended_Kalman_filter
|
|
|
|
Designed to merge only IMU and OptiTrack/VICON (no baro, sonar, GPS, ...)
|
|
|
|
- predict attitude and path with gyroscopes and accelerometers
|
|
- correct attitude and path with external pose and position message
|
|
- estimate gyro and accelerometer biases
|
|
|
|
Bypassed when simulating.
|
|
</description>
|
|
</doc>
|
|
<dep>
|
|
<depends>@gps,@datalink,@imu</depends>
|
|
<provides>ahrs,ins</provides>
|
|
</dep>
|
|
<header>
|
|
<file name="ins_ext_pose.h"/>
|
|
</header>
|
|
<init fun="ins_ext_pose_init()"/>
|
|
<periodic fun="ins_ext_pose_run()"/>
|
|
<datalink message="EXTERNAL_POSE" fun="ins_ext_pose_msg_update(buf)"/>
|
|
|
|
<makefile target="ap">
|
|
<define name="INS_EXT_POSE" value="TRUE"/>
|
|
<file name="ins_ext_pose.c"/>
|
|
<file name="ins.c"/>
|
|
</makefile>
|
|
</module>
|