|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
33 #include "generated/flight_plan.h"
59 ((tar->
h / 2) - tar->
py),
60 (tar->
px - (tar->
w / 2)),
struct georeference_filter_t filter
Filter waypoint location.
#define VECT3_SMUL(_vo, _vi, _s)
#define INT32_MAT33_ZERO(_m)
static void h(const real32_T x[7], const real32_T q[4], real32_T y[6])
void waypoint_set_alt_i(uint8_t wp_id, int32_t alt)
void georeference_filter(bool kalman, int wp, int length)
void georeference_init(void)
#define VECT3_SDIV(_vo, _vi, _s)
static struct NedCoor_i * stateGetPositionNed_i(void)
Get position in local NED coordinates (int).
#define VECT3_SUB(_a, _b)
int32_t px
Target pixel coordinate (left = 0)
#define VECT3_ADD(_a, _b)
#define MAT33_ELMT(_m, _row, _col)
struct georeference_t geo
void waypoint_set_xy_i(uint8_t wp_id, int32_t x, int32_t y)
Set only local XY coordinates of waypoint without update altitude.
Paparazzi fixed point algebra.
int32_t py
Target pixel coordinate (top = 0)
struct Int32Vect3 target_i
Target in pixels, with z being the focal length in pixels, x=up,y=right,out.
#define INT32_VECT3_ZERO(_v)
static struct Int32RMat * stateGetNedToBodyRMat_i(void)
Get vehicle body attitude rotation matrix (int).
void int32_rmat_transp_vmult(struct Int32Vect3 *vb, struct Int32RMat *m_b2a, struct Int32Vect3 *va)
rotate 3D vector by transposed rotation matrix.
struct Int32Vect3 target_l
Target in meters, relative to the drone in LTP frame.
vector in North East Down coordinates
struct Int32Vect3 v
Target Velocity.
#define INT32_VECT3_LSHIFT(_o, _i, _l)
Paparazzi fixed point trig functions.
int32_t w
Frame width [px].
void georeference_project(struct camera_frame_t *tar, int wp)
int32_t P
Covariance/Average-count.
Common code for AP and FBW telemetry.
void georeference_run(void)
struct Int32Vect3 x_t
Target coordinates NED.
int32_t f
Camera Focal length in [px].
struct Int32Vect3 x
Target.
Paparazzi generic algebra macros.
int32_t h
Frame height [px].
#define VECT3_ASSIGN(_a, _x, _y, _z)
#define VECT3_COPY(_a, _b)