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
StereoCamera 2 VELOCITY_ESTIMATE

Module XML file: stereocam_stereocam2state.xml

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

1 <modules>
2  <load name="stereocam_stereocam2state.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.

  • 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>