vector in Latitude, Longitude and Altitude
Paparazzi floating point math for geodetic calculations.
vector in North East Down coordinates Units: meters
Paparazzi fixed point math for geodetic calculations.
bool target_get_pos(struct NedCoor_f *pos, float *heading)
Get the current target position (NED) and heading.
float height
Target offset height.
float course
Ground course of the target [deg].
uint32_t recv_time
Time of when the target position message was received [msec].
void target_parse_target_pos(uint8_t *buf)
Receive a TARGET_POS message from the ground.
float ground_speed
Ground speed of the target [m/s].
float heading
Target offset heading.
struct LlaCoor_i lla
Lat, lon and altitude position of the target.
struct target_pos_t pos
The target position message.
float distance
Target offset distance.
uint32_t tow
Time of week of the target position measurement.
void target_pos_init(void)
bool integrate_z
Enable integration of the position in Z (Up) frame.
uint32_t rtk_timeout
RTK message timeout [msec].
float climb
Climb speed, z-up [m/s].
struct LlaCoor_i gps_lla
GPS LLA position.
struct target_offset_t offset
The target offset relative to ground heading.
bool valid
If the data of the target position is valid.
uint32_t target_pos_timeout
Ground target position message timeout [msec].
bool integrate_xy
Enable integration of the position in X-Y (North/East) frame.
bool target_get_vel(struct NedCoor_f *vel)
Get the current target velocity (NED)
float heading
Heading of the target [deg].
bool target_pos_set_current_offset(float unk)
Set the current measured distance and heading as offset.
unsigned int uint32_t
Typedef defining 32 bit unsigned int type.
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.