Files
paparazzi/conf/modules/actuators_hitl.xml
Gautier Hattenberger 4ae40567ed [hitl] rewrite support for hardware in the loop simulation (#3146)
- old way (based on ins_vectornav) is not supported anymore
- directly send sensor data and receive commands with a dedicated link
- examples with USB link for better results
- update sphinx documentation
- compilation in a single build
2023-10-31 14:48:55 +01:00

32 lines
1.1 KiB
XML

<!DOCTYPE module SYSTEM "module.dtd">
<module name="actuators_hitl" dir="actuators" task="actuators">
<doc>
<description>
Sends commands or actuators for Hardware In The Loop simulation
</description>
<configure name="HITL_PORT" value="UARTX|UDPX|usb_serial" description="Select port for extra datalink"/>
<configure name="HITL_BAUD" value="B230400" description="Baudrate for extra datalink if link device is UART"/>
</doc>
<dep>
<provides>actuators</provides>
</dep>
<header>
<file name="actuators_hitl.h"/>
</header>
<init fun="actuators_hitl_init()"/>
<periodic fun="actuators_hitl_periodic()"/>
<makefile target="ap">
<configure name="HITL_PORT" case="upper|lower"/>
<configure name="HITL_BAUD" default="B230400"/>
<define name="HITL_DEVICE" value="$(HITL_PORT_LOWER)"/>
<define name="USE_$(HITL_PORT_UPPER)"/>
<define name="$(HITL_PORT_UPPER)_BAUD" value="$(HITL_BAUD)"/>
<file name="actuators_hitl.c"/>
<test>
<define name="HITL_DEVICE" value="usb_serial"/>
<define name="USE_USB_SERIAL"/>
</test>
</makefile>
</module>