Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
hf_float.h File Reference

Horizontal filter (x,y) to estimate position and velocity. More...

#include "std.h"
#include "math/pprz_algebra_float.h"
#include "generated/airframe.h"
+ Include dependency graph for hf_float.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HfilterFloat
 

Macros

#define HFF_STATE_SIZE   2
 

Functions

void b2_hff_init (float init_x, float init_xdot, float init_y, float init_ydot)
 
void b2_hff_propagate (void)
 
void b2_hff_update_gps (struct FloatVect2 *pos_ned, struct FloatVect2 *speed_ned)
 
void b2_hff_update_pos (struct FloatVect2 pos, struct FloatVect2 Rpos)
 
void b2_hff_update_vel (struct FloatVect2 vel, struct FloatVect2 Rvel)
 
void b2_hff_realign (struct FloatVect2 pos, struct FloatVect2 vel)
 

Variables

struct HfilterFloat b2_hff_state
 

Detailed Description

Horizontal filter (x,y) to estimate position and velocity.

Definition in file hf_float.h.

Macro Definition Documentation

#define HFF_STATE_SIZE   2

Definition at line 36 of file hf_float.h.

Referenced by b2_hff_init_x(), and b2_hff_init_y().

Function Documentation

void b2_hff_init ( float  init_x,
float  init_xdot,
float  init_y,
float  init_ydot 
)
void b2_hff_realign ( struct FloatVect2  pos,
struct FloatVect2  vel 
)

Definition at line 570 of file hf_float.c.

References b2_hff_rb_n, b2_hff_state, past_save_counter, save_counter, SAVE_DONE, HfilterFloat::x, FloatVect2::x, HfilterFloat::xdot, HfilterFloat::y, FloatVect2::y, and HfilterFloat::ydot.

Referenced by ins_update_gps().

+ Here is the caller graph for this function:

void b2_hff_update_gps ( struct FloatVect2 pos_ned,
struct FloatVect2 speed_ned 
)
void b2_hff_update_pos ( struct FloatVect2  pos,
struct FloatVect2  Rpos 
)

Definition at line 658 of file hf_float.c.

References b2_hff_state, b2_hff_update_x(), b2_hff_update_y(), FloatVect2::x, and FloatVect2::y.

+ Here is the call graph for this function:

void b2_hff_update_vel ( struct FloatVect2  vel,
struct FloatVect2  Rvel 
)

Definition at line 727 of file hf_float.c.

References b2_hff_state, b2_hff_update_xdot(), b2_hff_update_ydot(), FloatVect2::x, and FloatVect2::y.

+ Here is the call graph for this function:

Variable Documentation