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);
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
Guidance algorithm based on vector fields 2D straight line trajectory.
vector in East North Up coordinates Units: meters