#include <gravity.h>
Public Member Functions | |
virtual bool | active (const State &state) |
virtual void | getExpectedValue (MeasurementVector &y_pred, const State &state) |
virtual double | getGravity () const |
virtual void | getMeasurementNoise (NoiseVariance &R, const State &, bool init) |
virtual void | getStateJacobian (MeasurementMatrix &C, const State &state, bool init) |
virtual SystemStatus | getStatusFlags () |
GravityModel () | |
virtual bool | init (PoseEstimation &estimator, Measurement &measurement, State &state) |
virtual void | setGravity (double gravity) |
virtual | ~GravityModel () |
Protected Attributes | |
SubState_< 3 >::Ptr | bias_ |
MeasurementVector | gravity_ |
double | stddev_ |
std::string | use_bias_ |
Definition at line 37 of file gravity.cpp.
hector_pose_estimation::GravityModel::~GravityModel | ( | ) | [virtual] |
Definition at line 44 of file gravity.cpp.
virtual bool hector_pose_estimation::GravityModel::active | ( | const State & | state | ) | [inline, virtual] |
Reimplemented from hector_pose_estimation::MeasurementModel.
void hector_pose_estimation::GravityModel::getExpectedValue | ( | MeasurementVector & | y_pred, |
const State & | state | ||
) | [virtual] |
Reimplemented from hector_pose_estimation::MeasurementModel_< GravityModel, 3 >.
Definition at line 69 of file gravity.cpp.
virtual double hector_pose_estimation::GravityModel::getGravity | ( | ) | const [inline, virtual] |
void hector_pose_estimation::GravityModel::getMeasurementNoise | ( | NoiseVariance & | R, |
const State & | , | ||
bool | init | ||
) | [virtual] |
Reimplemented from hector_pose_estimation::MeasurementModel_< GravityModel, 3 >.
Definition at line 62 of file gravity.cpp.
void hector_pose_estimation::GravityModel::getStateJacobian | ( | MeasurementMatrix & | C, |
const State & | state, | ||
bool | init | ||
) | [virtual] |
Reimplemented from hector_pose_estimation::MeasurementModel_< GravityModel, 3 >.
Definition at line 78 of file gravity.cpp.
virtual SystemStatus hector_pose_estimation::GravityModel::getStatusFlags | ( | ) | [inline, virtual] |
Reimplemented from hector_pose_estimation::MeasurementModel.
bool hector_pose_estimation::GravityModel::init | ( | PoseEstimation & | estimator, |
Measurement & | measurement, | ||
State & | state | ||
) | [virtual] |
Reimplemented from hector_pose_estimation::MeasurementModel.
Definition at line 46 of file gravity.cpp.
virtual void hector_pose_estimation::GravityModel::setGravity | ( | double | gravity | ) | [inline, virtual] |
SubState_<3>::Ptr hector_pose_estimation::GravityModel::bias_ [protected] |
MeasurementVector hector_pose_estimation::GravityModel::gravity_ [protected] |
double hector_pose_estimation::GravityModel::stddev_ [protected] |
std::string hector_pose_estimation::GravityModel::use_bias_ [protected] |