Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
PX4FLOW optical flow sensor

Module XML file: px4flow.xml

No detailed description...

Example for airframe file

1 <modules>
2  <load name="px4flow.xml"/>
3 </modules>

Module functions

Init Functions

These initialization functions are called once on startup.

Periodic Functions

These functions are called periodically at the specified frequency from the module periodic loop.

  • px4flow_downlink()
    • Frequency in Hz: 10
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.


Header Files

The following headers are automatically included in modules.h

Source Files

Raw px4flow.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="px4flow" dir="optical_flow">
<description>PX4FLOW optical flow sensor</description>
<file name="px4flow.h"/>
<init fun="px4flow_init()"/>
<periodic fun="px4flow_downlink()" freq="10"/> <!-- for debug -->
<file name="px4flow.c"/>