|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "std.h"Go to the source code of this file.
Data Structures | |
| struct | shift_tracking_t |
Macros | |
| #define | shift_tracking_SetKp(_v) |
| hndlers for gains update | |
| #define | shift_tracking_SetKd(_v) |
| #define | shift_tracking_SetKi(_v) |
Functions | |
| void | shift_tracking_init (void) |
| init function | |
| void | shift_tracking_run (float *shift) |
| run function | |
| void | shift_tracking_reset (void) |
| reset function | |
| void | shift_tracking_update_gains (void) |
Variables | |
| struct shift_tracking_t | shift_tracking |
pilot the nav shift variable to track an offset trajectory based on the POSITION_ESTIMATE ABI message
Definition in file shift_tracking.h.
| struct shift_tracking_t |
Definition at line 34 of file shift_tracking.h.
| Data Fields | ||
|---|---|---|
| float | kd | derivative gain |
| float | ki | integral gain |
| float | kp | proportional gain |
| float | shift | shift command |
| #define shift_tracking_SetKd | ( | _v | ) |
Definition at line 64 of file shift_tracking.h.
| #define shift_tracking_SetKi | ( | _v | ) |
Definition at line 65 of file shift_tracking.h.
| #define shift_tracking_SetKp | ( | _v | ) |
hndlers for gains update
Definition at line 63 of file shift_tracking.h.
|
extern |
init function
Definition at line 108 of file shift_tracking.c.
References dir, float_vect3_normalize(), FLOAT_VECT3_ZERO, get_pos(), init_pid_f(), shift_tracking, SHIFT_TRACKING_ID, SHIFT_TRACKING_KD, SHIFT_TRACKING_KI, SHIFT_TRACKING_KP, and stp.
|
extern |
reset function
reset integral and offset command
Definition at line 127 of file shift_tracking.c.
References reset_pid_f(), shift_tracking, and stp.
|
extern |
run function
should be called in flight plan pre_call
| [out] | shift | pointer to the navigation shift to control |
Definition at line 136 of file shift_tracking.c.
References nav_dt, shift_tracking_private::shift, shift_tracking, SHIFT_TRACKING_MAXSHIFT, stp, and update_pid_f().
|
extern |
Definition at line 163 of file shift_tracking.c.
References set_gains_pid_f(), shift_tracking, and stp.
|
extern |
Definition at line 75 of file shift_tracking.c.
Referenced by shift_tracking_init(), shift_tracking_reset(), shift_tracking_run(), and shift_tracking_update_gains().