Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
I2C Infrared sensor

Module XML file: infrared_i2c.xml

No detailed description...

Module functions

Init Functions

These initialization functions are called once on startup.

Event Functions

These event functions are called in each cycle of the module event loop.

Periodic Functions

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

  • infrared_i2c_update()
    • Frequency in Hz: 60.
    • 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 infrared_i2c.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<!-- @define IR_I2C_READ_ONLY for read only module -->
<module name="ir_i2c" dir="sensors">
<doc>
<description>I2C Infrared sensor</description>
</doc>
<header>
<file name="infrared_i2c.h"/>
</header>
<init fun="infrared_i2c_init()"/>
<periodic fun="infrared_i2c_update()" freq="60."/>
<!--periodic fun="infrared_i2cDownlink()" freq="1."/-->
<event fun="infrared_i2cEvent()"/>
<makefile target="ap|sim|jsbsim">
<define name="USE_INFRARED_TELEMETRY"/>
<file name="infrared.c" dir="subsystems/sensors"/>
<file name="infrared_i2c.c" dir="subsystems/sensors"/>
</makefile>
</module>