MAV'RIC
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Friends
INS_kf Class Reference

Altitude estimator. More...

#include <ins_kf.hpp>

Inheritance diagram for INS_kf:
Inheritance graph
[legend]
Collaboration diagram for INS_kf:
Collaboration graph
[legend]

List of all members.

Classes

struct  conf_t
 Configuration structure. More...

Public Member Functions

 INS_kf (State &state, const Gps &gps, const Gps_mocap &gps_mocap, const Barometer &barometer, const Sonar &sonar, const PX4Flow &flow, const AHRS &ahrs, const conf_t config=default_config())
 Constructor.
bool update (void)
 Main update function.
float last_update_s (void) const
 Last update in seconds.
std::array< float, 3 > position_lf (void) const
 3D Position in meters (NED frame)
std::array< float, 3 > velocity_lf (void) const
 Velocity in meters/seconds in NED frame.
float absolute_altitude (void) const
 Absolute altitude above sea level in meters (>=0)
bool is_healthy (INS::healthy_t type) const
 Indicates which estimate can be trusted.
void init (void)
 Initialize/reset the kalman filter.

Static Public Member Functions

static INS_kf::conf_t default_config (void)
 Default configuration structure.

Public Attributes

conf_t config_
 Configuration (public, to be used as onboard param)
uint32_t init_flag
 Flag used to force initialization by telemetry (0 no init, otherwise init)

Friends

void ins_telemetry_send (const INS_kf *ins, const Mavlink_stream *mavlink_stream, mavlink_message_t *msg)

Detailed Description

Altitude estimator.


Member Function Documentation

float INS_kf::absolute_altitude ( void  ) const [virtual]

Absolute altitude above sea level in meters (>=0)

Returns:
altitude

Implements INS.

Here is the call graph for this function:

bool INS_kf::is_healthy ( INS::healthy_t  type) const [virtual]

Indicates which estimate can be trusted.

Parameters:
typeType of estimate
Returns:
boolean

Implements INS.

Here is the call graph for this function:

float INS_kf::last_update_s ( void  ) const [virtual]

Last update in seconds.

Returns:
time

Implements INS.

std::array< float, 3 > INS_kf::position_lf ( void  ) const [virtual]

3D Position in meters (NED frame)

Returns:
position

Implements INS.

bool INS_kf::update ( void  ) [virtual]

Main update function.

Returns:
Success

Implements INS.

Here is the call graph for this function:

std::array< float, 3 > INS_kf::velocity_lf ( void  ) const [virtual]

Velocity in meters/seconds in NED frame.

Returns:
velocity

Implements INS.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines