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 ( )
inline

Definition at line 40 of file estimator_test.cpp.

Member Function Documentation

double EstimatorTest::biasError ( )
inline

Definition at line 217 of file estimator_test.cpp.

Vector3d EstimatorTest::computeError ( )
inline

Definition at line 166 of file estimator_test.cpp.

Vector3d EstimatorTest::eulerError ( )
inline

Definition at line 205 of file estimator_test.cpp.

void EstimatorTest::extAttUpdate ( )
inline

Definition at line 149 of file estimator_test.cpp.

Vector3d EstimatorTest::getTrueRPY ( )
inline

Definition at line 225 of file estimator_test.cpp.

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

Definition at line 72 of file estimator_test.cpp.

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

Definition at line 109 of file estimator_test.cpp.

double EstimatorTest::run ( void  )
inline

Definition at line 74 of file estimator_test.cpp.

void EstimatorTest::SetUp ( )
inlineoverride

Definition at line 42 of file estimator_test.cpp.

double EstimatorTest::sign ( double  x)
inline

Definition at line 164 of file estimator_test.cpp.

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

Definition at line 136 of file estimator_test.cpp.

Member Data Documentation

testBoard EstimatorTest::board

Definition at line 20 of file estimator_test.cpp.

double EstimatorTest::dt_

Definition at line 35 of file estimator_test.cpp.

int EstimatorTest::ext_att_count_

Definition at line 38 of file estimator_test.cpp.

int EstimatorTest::ext_att_update_rate_

Definition at line 37 of file estimator_test.cpp.

std::ofstream EstimatorTest::file_

Definition at line 24 of file estimator_test.cpp.

Vector3d EstimatorTest::gravity

Definition at line 26 of file estimator_test.cpp.

Mavlink EstimatorTest::mavlink

Definition at line 21 of file estimator_test.cpp.

int EstimatorTest::oversampling_factor_

Definition at line 36 of file estimator_test.cpp.

Quaterniond EstimatorTest::q_

Definition at line 27 of file estimator_test.cpp.

ROSflight EstimatorTest::rf

Definition at line 22 of file estimator_test.cpp.

double EstimatorTest::t_

Definition at line 35 of file estimator_test.cpp.

double EstimatorTest::tmax_

Definition at line 31 of file estimator_test.cpp.

double EstimatorTest::x_amp_

Definition at line 30 of file estimator_test.cpp.

double EstimatorTest::x_freq_

Definition at line 29 of file estimator_test.cpp.

double EstimatorTest::x_gyro_bias_

Definition at line 32 of file estimator_test.cpp.

double EstimatorTest::y_amp_

Definition at line 30 of file estimator_test.cpp.

double EstimatorTest::y_freq_

Definition at line 29 of file estimator_test.cpp.

double EstimatorTest::y_gyro_bias_

Definition at line 33 of file estimator_test.cpp.

double EstimatorTest::z_amp_

Definition at line 30 of file estimator_test.cpp.

double EstimatorTest::z_freq_

Definition at line 29 of file estimator_test.cpp.

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 Fri Oct 9 2020 03:17:21