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

Go to the source code of this file.

Data Structures

struct  Amt

Functions

void approach_moving_target_init (void)
void follow_diagonal_approach (void)
 Generates a velocity reference from a diagonal approach path.
void approach_moving_target_enable (uint8_t wp_id)
void approach_moving_target_set_low_pass_freq (float filter_freq)

Variables

struct Amt amt

Detailed Description

Author
Ewoud Smeur e.j.j.nosp@m..sme.nosp@m.ur@tu.nosp@m.delf.nosp@m.t.nl Approach a moving target (e.g. ship)

Definition in file approach_moving_target.h.


Data Structure Documentation

◆ Amt

struct Amt

Definition at line 33 of file approach_moving_target.h.

Collaboration diagram for Amt:
Data Fields
float cutoff_freq_filters_hz
float distance
int32_t enabled_time
float err_slowdown_gain
float pos_gain
float psi_ref
struct FloatVect3 rel_unit_vec
float relvel_gain
float slope_ref
float speed
float speed_gain
uint8_t wp_id

Function Documentation

◆ approach_moving_target_enable()

void approach_moving_target_enable ( uint8_t wp_id)
extern

Definition at line 161 of file approach_moving_target.c.

References amt, and get_sys_time_msec().

Here is the call graph for this function:

◆ approach_moving_target_init()

void approach_moving_target_init ( void )
extern

Definition at line 119 of file approach_moving_target.c.

References amt, approach_moving_target_set_low_pass_freq(), DefaultPeriodic, register_periodic_telemetry(), and send_approach_moving_target().

Here is the call graph for this function:

◆ approach_moving_target_set_low_pass_freq()

void approach_moving_target_set_low_pass_freq ( float filter_freq)
extern

Definition at line 127 of file approach_moving_target.c.

References amt, init_butterworth_2_low_pass(), target_heading_filt, target_pos_filt, and target_vel_filt.

Referenced by approach_moving_target_init().

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

◆ follow_diagonal_approach()

Variable Documentation

◆ amt