Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
px4flow module

PX4FLOW optical flow sensor

No detailed description...

Example for airframe file

Add to your firmware section:

1 <module name="mavlink_decoder"/>
2 <module name="px4flow"/>

Dependencies

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.

Files

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">
<doc>
<description>PX4FLOW optical flow sensor</description>
</doc>
<depends>mavlink_decoder</depends>
<header>
<file name="px4flow.h"/>
</header>
<init fun="px4flow_init()"/>
<periodic fun="px4flow_downlink()" freq="10"/> <!-- for debug -->
<makefile>
<file name="px4flow.c"/>
</makefile>
</module>