[mag] add UAVCAN mag module (#3514)
Issues due date / Add labels to issues (push) Has been cancelled
Doxygen / build (push) Has been cancelled

Co-authored-by: Fabien-B <Fabien-B@github.com>
This commit is contained in:
Fabien-B
2025-08-01 10:46:43 +02:00
committed by GitHub
parent 1e397aee61
commit b706cebb5a
4 changed files with 169 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
<!DOCTYPE module SYSTEM "module.dtd">
<module name="mag_uavcan" dir="sensors" task="sensors">
<doc>
<description>Mag driver for UAVCAN message MagneticFieldStrength</description>
<define name="MAG_UAVCAN_SYNC_SEND" value="TRUE|FALSE" description="Send IMU_RAW message with each new measurement (default: FALSE)"/>
</doc>
<dep>
<depends>uavcan</depends>
<provides>mag</provides>
</dep>
<header>
<file name="mag_uavcan.h"/>
</header>
<init fun="mag_uavcan_init()"/>
<makefile target="ap">
<file name="mag_uavcan.c"/>
<!-- Load DSDL generated files-->
<include name="$(PAPARAZZI_HOME)/var/include/DSDLcode/include"/>
<file name="uavcan.equipment.ahrs.MagneticFieldStrength.c" dir="$(PAPARAZZI_HOME)/var/include/DSDLcode/src"/>
<file name="uavcan.equipment.ahrs.MagneticFieldStrength2.c" dir="$(PAPARAZZI_HOME)/var/include/DSDLcode/src"/>
</makefile>
</module>