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
Follows a person using the reference given by the stereocam

Module XML file: stereocam_follow_me.xml

This module does so by changing the yaw angle and roll angle alternatively. This way the drone does not drift away, and keeps looking at the person it tries to follow.

Example for airframe file

1 <modules>
2  <load name="stereocam_follow_me.xml"/>
3 </modules>

Module functions

Periodic Functions

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

  • follow_me_periodic()
    • Frequency in Hz: 512
    • 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 stereocam_follow_me.xml file:

<!DOCTYPE module SYSTEM "module.dtd">
<module name="stereocam_follow_me" dir="stereocam">
<doc>
<description> Follows a person using the reference given by the stereocam.
This module does so by changing the yaw angle and roll angle alternatively.
This way the drone does not drift away, and keeps looking at the person it tries to follow.
</description>
</doc>
<header>
<file name="stereocam_follow_me/follow_me.h"/>
</header>
<periodic fun="follow_me_periodic()" freq="512"/>
<makefile>
<file name="stereocam_follow_me/follow_me.c" />
</makefile>
</module>