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
HackHD control

Module XML file: hackhd.xml

No detailed description...

Module configuration options

Configure Options

  • name: HACKHD_GPIO value: GPIO
    Description: control pin (e.g. GPIOC,GPIO5)

Define Options

    Description: enable telemetry report on camera position
  • name: HACKHD_LOG value: TRUE|FALSE
    Description: enable logging of camera shot orientation and position

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.

  • hackhd_periodic()
    • Frequency in Hz: 10
    • Autorun: LOCK
      Periodic function automatically starts after init and can't be stopped.
  • hackhd_autoshoot()
    • Frequency in Hz: 10
    • Autorun: FALSE
      Periodic function is started by user command.
    • Start function: hackhd_autoshoot_start()
      Executed before the periodic function starts.


Header Files

The following headers are automatically included in modules.h

Source Files

Raw hackhd.xml file:

<!DOCTYPE module SYSTEM "./module.dtd">
<module name="hackhd" dir="digital_cam">
<description>HackHD control</description>
<configure name="HACKHD_GPIO" value="GPIO" description="control pin (e.g. GPIOC,GPIO5)"/>
<define name="HACKHD_SYNC_SEND" value="TRUE|FALSE" description="enable telemetry report on camera position"/>
<define name="HACKHD_LOG" value="TRUE|FALSE" description="enable logging of camera shot orientation and position"/>
<file name="hackhd.h"/>
<init fun="hackhd_init()"/>
<periodic fun="hackhd_periodic()" freq="10"/>
<periodic fun="hackhd_autoshoot()" freq="10" start="hackhd_autoshoot_start()" autorun="FALSE"/>
<define name="HACKHD_GPIO" value="$(HACKHD_GPIO)"/>
<file name="hackhd.c"/>