Public Member Functions | Public Attributes | List of all members
EstimatorTest Class Reference
Inheritance diagram for EstimatorTest:
Inheritance graph
[legend]

Public Member Functions

double biasError ()
 
Vector3d computeError ()
 
 EstimatorTest ()
 
Vector3d eulerError ()
 
void extAttUpdate ()
 
Vector3d getTrueRPY ()
 
void initFile (const std::string &filename)
 
void integrate (Quaterniond &q, const Vector3d &_w, double dt)
 
double run ()
 
void SetUp () override
 
double sign (double x)
 
void simulateIMU (float *acc, float *gyro)
 

Public Attributes

testBoard board
 
double dt_
 
int ext_att_count_
 
int ext_att_update_rate_
 
std::ofstream file_
 
Vector3d gravity
 
Mavlink mavlink
 
int oversampling_factor_
 
Quaterniond q_
 
ROSflight rf
 
double t_
 
double tmax_
 
double x_amp_
 
double x_freq_
 
double x_gyro_bias_
 
double y_amp_
 
double y_freq_
 
double y_gyro_bias_
 
double z_amp_
 
double z_freq_
 
double z_gyro_bias_
 

Detailed Description

Definition at line 17 of file estimator_test.cpp.

Constructor & Destructor Documentation

◆ EstimatorTest()

EstimatorTest::EstimatorTest ( )
inline

Definition at line 40 of file estimator_test.cpp.

Member Function Documentation

◆ biasError()

double EstimatorTest::biasError ( )
inline

Definition at line 217 of file estimator_test.cpp.

◆ computeError()

Vector3d EstimatorTest::computeError ( )
inline

Definition at line 166 of file estimator_test.cpp.

◆ eulerError()

Vector3d EstimatorTest::eulerError ( )
inline

Definition at line 205 of file estimator_test.cpp.

◆ extAttUpdate()

void EstimatorTest::extAttUpdate ( )
inline

Definition at line 149 of file estimator_test.cpp.

◆ getTrueRPY()

Vector3d EstimatorTest::getTrueRPY ( )
inline

Definition at line 225 of file estimator_test.cpp.

◆ initFile()

void EstimatorTest::initFile ( const std::string &  filename)
inline

Definition at line 72 of file estimator_test.cpp.

◆ integrate()

void EstimatorTest::integrate ( Quaterniond &  q,
const Vector3d &  _w,
double  dt 
)
inline

Definition at line 109 of file estimator_test.cpp.

◆ run()

double EstimatorTest::run ( void  )
inline

Definition at line 74 of file estimator_test.cpp.

◆ SetUp()

void EstimatorTest::SetUp ( )
inlineoverride

Definition at line 42 of file estimator_test.cpp.

◆ sign()

double EstimatorTest::sign ( double  x)
inline

Definition at line 164 of file estimator_test.cpp.

◆ simulateIMU()

void EstimatorTest::simulateIMU ( float *  acc,
float *  gyro 
)
inline

Definition at line 136 of file estimator_test.cpp.

Member Data Documentation

◆ board

testBoard EstimatorTest::board

Definition at line 20 of file estimator_test.cpp.

◆ dt_

double EstimatorTest::dt_

Definition at line 35 of file estimator_test.cpp.

◆ ext_att_count_

int EstimatorTest::ext_att_count_

Definition at line 38 of file estimator_test.cpp.

◆ ext_att_update_rate_

int EstimatorTest::ext_att_update_rate_

Definition at line 37 of file estimator_test.cpp.

◆ file_

std::ofstream EstimatorTest::file_

Definition at line 24 of file estimator_test.cpp.

◆ gravity

Vector3d EstimatorTest::gravity

Definition at line 26 of file estimator_test.cpp.

◆ mavlink

Mavlink EstimatorTest::mavlink

Definition at line 21 of file estimator_test.cpp.

◆ oversampling_factor_

int EstimatorTest::oversampling_factor_

Definition at line 36 of file estimator_test.cpp.

◆ q_

Quaterniond EstimatorTest::q_

Definition at line 27 of file estimator_test.cpp.

◆ rf

ROSflight EstimatorTest::rf

Definition at line 22 of file estimator_test.cpp.

◆ t_

double EstimatorTest::t_

Definition at line 35 of file estimator_test.cpp.

◆ tmax_

double EstimatorTest::tmax_

Definition at line 31 of file estimator_test.cpp.

◆ x_amp_

double EstimatorTest::x_amp_

Definition at line 30 of file estimator_test.cpp.

◆ x_freq_

double EstimatorTest::x_freq_

Definition at line 29 of file estimator_test.cpp.

◆ x_gyro_bias_

double EstimatorTest::x_gyro_bias_

Definition at line 32 of file estimator_test.cpp.

◆ y_amp_

double EstimatorTest::y_amp_

Definition at line 30 of file estimator_test.cpp.

◆ y_freq_

double EstimatorTest::y_freq_

Definition at line 29 of file estimator_test.cpp.

◆ y_gyro_bias_

double EstimatorTest::y_gyro_bias_

Definition at line 33 of file estimator_test.cpp.

◆ z_amp_

double EstimatorTest::z_amp_

Definition at line 30 of file estimator_test.cpp.

◆ z_freq_

double EstimatorTest::z_freq_

Definition at line 29 of file estimator_test.cpp.

◆ z_gyro_bias_

double EstimatorTest::z_gyro_bias_

Definition at line 34 of file estimator_test.cpp.


The documentation for this class was generated from the following file:


rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Mon Feb 28 2022 23:36:18