Paparazzi UAS
v5.15_devel-230-gc96ce27
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_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 ANGLE_BFP_OF_REAL, ANGLE_FLOAT_OF_BFP, DefaultChannel, DefaultDevice, FLOAT_ANGLE_NORMALIZE, INT32_COURSE_NORMALIZE, msg, nav_dt, nav_heading, object_bearing, object_frame, object_height, object_tracking_rate, object_tracking_search_rate, OBJECT_TRACKING_TIMEOUT, FloatEulers::psi, stateGetNedToBodyEulers_f(), and timeout.
float object_tracking_rate |
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().
float object_tracking_search_rate |
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().