Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
tag_tracking.h File Reference
#include "std.h"
#include "math/pprz_algebra_float.h"
#include "math/pprz_geodetic_float.h"
+ Include dependency graph for tag_tracking.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tag_tracking_public
 

Macros

#define TAG_TRACKING_SEARCHING   0
 
#define TAG_TRACKING_RUNNING   1
 
#define TAG_TRACKING_LOST   2
 
#define TAG_TRACKING_DISABLE   3
 
#define TAG_TRACKING_FIXED_POS   0
 
#define TAG_TRACKING_MOVING   1
 

Functions

void tag_tracking_init (void)
 
void tag_tracking_propagate (void)
 
void tag_tracking_propagate_start (void)
 
void tag_tracking_report (void)
 
void tag_tracking_parse_target_pos (uint8_t *buf)
 
void tag_tracking_compute_speed (void)
 Control function. More...
 

Variables

struct tag_tracking_public tag_tracking
 

Data Structure Documentation

◆ tag_tracking_public

struct tag_tracking_public

Definition at line 47 of file tag_tracking.h.

+ Collaboration diagram for tag_tracking_public:
Data Fields
float kp horizontal tracking command gain
float kpz vertical tracking command gain
uint8_t motion_type type of tag motion
struct FloatVect3 pos estimated position
float predict_time prediction time for WP tag
struct FloatVect3 speed estimated speed
struct NedCoor_f speed_cmd speed command to track the tag position
uint8_t status tracking status flag

Macro Definition Documentation

◆ TAG_TRACKING_DISABLE

#define TAG_TRACKING_DISABLE   3

Definition at line 40 of file tag_tracking.h.

◆ TAG_TRACKING_FIXED_POS

#define TAG_TRACKING_FIXED_POS   0

Definition at line 44 of file tag_tracking.h.

◆ TAG_TRACKING_LOST

#define TAG_TRACKING_LOST   2

Definition at line 39 of file tag_tracking.h.

◆ TAG_TRACKING_MOVING

#define TAG_TRACKING_MOVING   1

Definition at line 45 of file tag_tracking.h.

◆ TAG_TRACKING_RUNNING

#define TAG_TRACKING_RUNNING   1

Definition at line 38 of file tag_tracking.h.

◆ TAG_TRACKING_SEARCHING

#define TAG_TRACKING_SEARCHING   0

Definition at line 37 of file tag_tracking.h.

Function Documentation

◆ tag_tracking_compute_speed()

void tag_tracking_compute_speed ( void  )

Control function.

calling this function only updates the command vector it can be applied to the guidance control using the guided mode or from the flight plan with 'guided' instruction

Definition at line 393 of file tag_tracking.c.

◆ tag_tracking_init()

◆ tag_tracking_parse_target_pos()

void tag_tracking_parse_target_pos ( uint8_t buf)

◆ tag_tracking_propagate()

◆ tag_tracking_propagate_start()

void tag_tracking_propagate_start ( void  )

Definition at line 349 of file tag_tracking.c.

References kalman, simple_kinematic_kalman_init(), tag_track_dt, tag_track_private, TAG_TRACKING_P0_POS, TAG_TRACKING_P0_SPEED, TAG_TRACKING_Q_SIGMA2, TAG_TRACKING_R, TAG_TRACKING_SEARCHING, and tag_tracking::timeout.

Referenced by tag_tracking_propagate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ tag_tracking_report()

Variable Documentation

◆ tag_tracking

Definition at line 154 of file tag_tracking.c.