32 #include "generated/airframe.h"
45 #ifndef GVF_LINE_HEADING
46 #define GVF_LINE_HEADING 0
50 #ifndef GVF_SEGMENT_D1
51 #define GVF_SEGMENT_D1 0
55 #ifndef GVF_SEGMENT_D2
56 #define GVF_SEGMENT_D2 0
74 *phi = -(px - a) * cosf(alpha) + (py - b) * sinf(alpha);
77 grad->
nx = -cosf(alpha);
78 grad->
ny = sinf(alpha);
vector in East North Up coordinates Units: meters
Guidance algorithm based on vector fields 2D straight line trajectory.
static struct EnuCoor_f * stateGetPositionEnu_f(void)
Get position in local ENU coordinates (float).
void gvf_line_info(float *phi, struct gvf_grad *grad, struct gvf_Hess *hess)
gvf_seg_par gvf_segment_par