Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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. More...
 
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)

Definition at line 161 of file approach_moving_target.c.

References amt, Amt::enabled_time, get_sys_time_msec(), and Amt::wp_id.

+ Here is the call graph for this function:

◆ approach_moving_target_init()

void approach_moving_target_init ( void  )

◆ approach_moving_target_set_low_pass_freq()

void approach_moving_target_set_low_pass_freq ( float  filter_freq)

Definition at line 127 of file approach_moving_target.c.

References amt, Amt::cutoff_freq_filters_hz, 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()

void follow_diagonal_approach ( void  )

Generates a velocity reference from a diagonal approach path.

Definition at line 171 of file approach_moving_target.c.

Variable Documentation

◆ amt