Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"
Go to the source code of this file.
Functions | |
void | object_tracking_init (void) |
init function More... | |
void | object_tracking_run (void) |
run function More... | |
Variables | |
float | object_tracking_rate |
max turn rate in control mode in rad/s More... | |
float | object_tracking_search_rate |
max turn rate in search mode in rad/s More... | |
Definition in file object_tracking.h.
void object_tracking_init | ( | void | ) |
init function
Definition at line 88 of file object_tracking.c.
References get_object(), object_bearing, object_ev, object_frame, object_height, OBJECT_TRACKING_ID, OBJECT_TRACKING_RATE, object_tracking_rate, OBJECT_TRACKING_SEARCH_RATE, object_tracking_search_rate, OBJECT_TRACKING_TIMEOUT, and timeout.
void object_tracking_run | ( | void | ) |
run function
should be called in a flight plan stay block using pre_call
ex: <block name="Track Object"> <stay wp="STDBY" pre_call="object_tracking_run()"> </block>
Definition at line 102 of file object_tracking.c.
References DefaultChannel, DefaultDevice, FLOAT_ANGLE_NORMALIZE, RotorcraftNavigation::heading, msg, nav, nav_dt, NormCourseRad, object_bearing, object_frame, object_height, object_tracking_rate, object_tracking_search_rate, OBJECT_TRACKING_TIMEOUT, FloatEulers::psi, stateGetNedToBodyEulers_f(), and timeout.
|
extern |
max turn rate in control mode in rad/s
Definition at line 64 of file object_tracking.c.
Referenced by object_tracking_init(), and object_tracking_run().
|
extern |
max turn rate in search mode in rad/s
Definition at line 65 of file object_tracking.c.
Referenced by object_tracking_init(), and object_tracking_run().