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
stereocam_stereocam2state module

StereoCamera 2 VELOCITY_ESTIMATE.

This module sends the data retreived from an external stereocamera modules, to the state filter of the drone. This is done so that the guidance modules can use that information for couadcopter

Example for airframe file

Add to your firmware section:

1 <module name="stereocam"/>
2 <module name="stereocam_stereocam2state"/>

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.

  • stereo_to_state_periodic()
    • Running at maximum module frequency.
    • Autorun: TRUE
      Periodic function automatically starts after init.

Files

Header Files

The following headers are automatically included in modules.h

Source Files

Raw stereocam_stereocam2state.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="stereocam2state" dir="stereocam/stereocam2state">
<doc>
<description>
StereoCamera 2 VELOCITY_ESTIMATE.
This module sends the data retreived from an external stereocamera modules, to the state filter of the drone. This is done so that the guidance modules can use that information for couadcopter
</description>
</doc>
<depends>stereocam</depends>
<header>
<file name="stereocam2state.h"/>
</header>
<init fun="stereo_to_state_init()"/>
<periodic fun="stereo_to_state_periodic()" autorun="TRUE"/>
<makefile>
<file name="stereocam2state.c"/>
</makefile>
</module>