29 #ifndef TAG_TRACKING_H
30 #define TAG_TRACKING_H
36 #ifndef TAG_TRACKING_NB_MAX
37 #define TAG_TRACKING_NB_MAX 5
41 #define TAG_TRACKING_ANY -2
44 #define TAG_TRACKING_SEARCHING 0
45 #define TAG_TRACKING_RUNNING 1
46 #define TAG_TRACKING_LOST 2
47 #define TAG_TRACKING_DISABLE 3
51 #define TAG_TRACKING_FIXED_POS 0
52 #define TAG_TRACKING_MOVING 1
Paparazzi floating point algebra.
Paparazzi floating point math for geodetic calculations.
vector in North East Down coordinates Units: meters
void tag_tracking_set_kpz(float kpz)
struct FloatQuat ned_to_tag_quat
estimated attitude in NED frame
int tag_tracking_setting_id
bool tag_tracking_set_tracker_id(int16_t tag_id, uint8_t wp_id)
float kpz
vertical tracking command gain
void tag_tracking_set_kp(float kp)
struct tag_tracking_public * tag_tracking_get(int16_t tag_id)
float tag_tracking_predict_time
uint8_t tag_tracking_get_motion_type(int16_t tag_id)
struct FloatVect3 pos
estimated position
float tag_tracking_motion_type
void tag_tracking_set_setting_id(float id)
uint8_t status
tracking status flag
void tag_tracking_propagate_start(void)
void tag_tracking_parse_target_pos(uint8_t *buf)
float predict_time
prediction time for WP tag
void tag_tracking_set_predict_time(float predict_time)
struct NedCoor_f speed_cmd
speed command to track the tag position
void tag_tracking_propagate(void)
uint8_t tag_tracking_get_status(int16_t tag_id)
struct FloatQuat body_to_tag_quat
estimated attitude in body frame
void tag_tracking_set_motion_type(float motion_type)
void tag_tracking_init(void)
uint8_t motion_type
type of tag motion
void tag_tracking_compute_speed(void)
Control function.
float tag_tracking_get_heading(int16_t tag_id)
struct FloatVect3 speed
estimated speed
void tag_tracking_report(void)
float kp
horizontal tracking command gain
short int16_t
Typedef defining 16 bit short type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.