Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
uwb_positioning.h File Reference
#include "std.h"
Include dependency graph for uwb_positioning.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PRIMARY_GPS   GPS_UWB

Functions

void uwb_positioning_update_ekf_q (float v)
 settings handler
void uwb_positioning_update_ekf_r_dist (float v)
void uwb_positioning_update_ekf_r_speed (float v)
void uwb_positioning_init (void)
void uwb_positioning_periodic (void)
void uwb_positioning_range_periodic (void)
void uwb_positioning_report (void)
void uwb_positioning_reset_heading_ref (void)
 Reset reference heading to current heading AHRS/INS should be aligned before calling this function.
void uwb_range (uint16_t id)
 Weak empty implementation.

Variables

bool uwb_positioning_use_ekf
 enable EKF filtering
float uwb_positioning_ekf_q
 process and measurements noise
float uwb_positioning_ekf_r_dist
float uwb_positioning_ekf_r_speed

Detailed Description

Author
Gautier Hattenberger UWB positioning from anchor measurements.

Definition in file uwb_positioning.h.

Macro Definition Documentation

◆ PRIMARY_GPS

#define PRIMARY_GPS   GPS_UWB

Definition at line 54 of file uwb_positioning.h.

Function Documentation

◆ uwb_positioning_init()

◆ uwb_positioning_periodic()

void uwb_positioning_periodic ( void )
extern

◆ uwb_positioning_range_periodic()

void uwb_positioning_range_periodic ( void )
extern

Definition at line 552 of file uwb_positioning.c.

References Anchor::id, uwb_positioning, UWB_POSITIONING_NB_ANCHORS, and uwb_range().

Here is the call graph for this function:

◆ uwb_positioning_report()

void uwb_positioning_report ( void )
extern

Definition at line 558 of file uwb_positioning.c.

References DefaultChannel, DefaultDevice, and uwb_positioning.

◆ uwb_positioning_reset_heading_ref()

void uwb_positioning_reset_heading_ref ( void )
extern

Reset reference heading to current heading AHRS/INS should be aligned before calling this function.

Definition at line 415 of file uwb_positioning.c.

References FloatEulers::psi, stateGetNedToBodyEulers_f(), and uwb_positioning.

Here is the call graph for this function:

◆ uwb_positioning_update_ekf_q()

void uwb_positioning_update_ekf_q ( float v)
extern

settings handler

Definition at line 579 of file uwb_positioning.c.

References ekf_range_update_noise(), uwb_positioning, uwb_positioning_ekf_q, uwb_positioning_ekf_r_dist, and uwb_positioning_ekf_r_speed.

Here is the call graph for this function:

◆ uwb_positioning_update_ekf_r_dist()

void uwb_positioning_update_ekf_r_dist ( float v)
extern

Definition at line 585 of file uwb_positioning.c.

References ekf_range_update_noise(), uwb_positioning, uwb_positioning_ekf_q, uwb_positioning_ekf_r_dist, and uwb_positioning_ekf_r_speed.

Here is the call graph for this function:

◆ uwb_positioning_update_ekf_r_speed()

void uwb_positioning_update_ekf_r_speed ( float v)
extern

Definition at line 591 of file uwb_positioning.c.

References ekf_range_update_noise(), uwb_positioning, uwb_positioning_ekf_q, uwb_positioning_ekf_r_dist, and uwb_positioning_ekf_r_speed.

Here is the call graph for this function:

◆ uwb_range()

void uwb_range ( uint16_t id)

Weak empty implementation.

Definition at line 433 of file pdec.c.

References pdec_target_cmd_payload::dst_id, and pdec_range().

Referenced by uwb_positioning_range_periodic().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ uwb_positioning_ekf_q

float uwb_positioning_ekf_q
extern

◆ uwb_positioning_ekf_r_dist

float uwb_positioning_ekf_r_dist
extern

◆ uwb_positioning_ekf_r_speed

float uwb_positioning_ekf_r_speed
extern

◆ uwb_positioning_use_ekf

bool uwb_positioning_use_ekf
extern

enable EKF filtering

Definition at line 186 of file uwb_positioning.c.

Referenced by check_and_compute_data(), uwb_positioning_init(), and uwb_positioning_periodic().