|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
30 #include "generated/airframe.h"
31 #include "generated/modules.h"
34 #ifndef OBJECT_TRACKING_ID
35 #define OBJECT_TRACKING_ID ABI_BROADCAST
39 #ifndef OBJECT_TRACKING_TIMEOUT
40 #define OBJECT_TRACKING_TIMEOUT 3.0f
44 #ifndef OBJECT_TRACKING_RATE
45 #define OBJECT_TRACKING_RATE RadOfDeg(10)
49 #ifndef OBJECT_TRACKING_SEARCH_RATE
50 #define OBJECT_TRACKING_SEARCH_RATE RadOfDeg(20)
54 #ifndef OBJECT_TRACKING_DEBUG
55 #define OBJECT_TRACKING_DEBUG FALSE
58 #if OBJECT_TRACKING_DEBUG
60 #include "pprzlink/messages.h"
80 float distance __attribute__((unused)))
115 #if OBJECT_TRACKING_DEBUG
float object_tracking_rate
max turn rate in control mode in rad/s
float object_tracking_search_rate
max turn rate in search mode in rad/s
#define ANGLE_FLOAT_OF_BFP(_ai)
#define FLOAT_ANGLE_NORMALIZE(_a)
#define OBJECT_TRACKING_ID
static void get_object(uint8_t sender_id, uint32_t id, uint8_t frame, float bearing, float height, float distance)
Event structure to store callbacks in a linked list.
static struct FloatEulers * stateGetNedToBodyEulers_f(void)
Get vehicle body attitude euler angles (float).
int32_t nav_heading
with INT32_ANGLE_FRAC
uint8_t msg[10]
Buffer used for general comunication over SPI (out buffer)
static const float nav_dt
arch independent UART (Universal Asynchronous Receiver/Transmitter) API
void object_tracking_init(void)
init function
void object_tracking_run(void)
run function
#define ANGLE_BFP_OF_REAL(_af)
Common code for AP and FBW telemetry.
#define OBJECT_TRACKING_RATE
#define OBJECT_TRACKING_TIMEOUT
static float object_bearing
#define OBJECT_TRACKING_SEARCH_RATE
static uint8_t object_frame
static float object_height
#define INT32_COURSE_NORMALIZE(_a)