Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
NormalVelocityModel Class Reference

Motion estimation that uses the module of the velocity and the rotational velocity. More...

#include <motion_models.hpp>

Inheritance diagram for NormalVelocityModel:
Inheritance graph
Collaboration diagram for NormalVelocityModel:
Collaboration graph

Public Member Functions

 NormalVelocityModel (const Eigen::MatrixXf &process_noise_covariance_matrix)
 Construct a new Motion Model object.
 
Eigen::VectorXf predict_expected_state (const Eigen::VectorXf &expected_state, const MotionUpdate &motion_prediction_data, const double time_interval) const override
 Calculate expected state vector from velocity model using normal motion data Uses translation velocity only.
 
Eigen::MatrixXf get_motion_to_state_matrix (const Eigen::VectorXf &expected_state, const MotionUpdate &motion_prediction_data, const double time_interval) const override
 Calculate state covariance matrix from velocity model using normal motion data Uses translation velocity only.
 
- Public Member Functions inherited from MotionModel
 MotionModel (const Eigen::MatrixXf &process_noise_covariance_matrix)
 Construct a new Motion Model object.
 
Eigen::MatrixXf get_process_noise_covariance_matrix (const unsigned int state_size) const
 Get the process noise covariance matrix object.
 
virtual ~MotionModel ()=default
 

Private Attributes

Eigen::MatrixXf _process_noise_covariance_matrix
 

Additional Inherited Members

- Static Public Member Functions inherited from MotionModel
static Eigen::MatrixXf create_process_noise_covariance_matrix (float process_noise)
 

Detailed Description

Motion estimation that uses the module of the velocity and the rotational velocity.

Definition at line 140 of file motion_models.hpp.

Constructor & Destructor Documentation

◆ NormalVelocityModel()

NormalVelocityModel::NormalVelocityModel ( const Eigen::MatrixXf &  process_noise_covariance_matrix)
explicit

Construct a new Motion Model object.

Parameters
process_noise_covariance_matrixcovariance matrix of the process noise (R)

Definition at line 8 of file motion_models.cpp.

Member Function Documentation

◆ get_motion_to_state_matrix()

Eigen::MatrixXf NormalVelocityModel::get_motion_to_state_matrix ( const Eigen::VectorXf &  expected_state,
const MotionUpdate motion_prediction_data,
const double  time_interval 
) const
overridevirtual

Calculate state covariance matrix from velocity model using normal motion data Uses translation velocity only.

Parameters
expected_state
motion_prediction_data
time_intervalin seconds
Returns
Eigen::MatrixXf

Implements MotionModel.

Definition at line 58 of file motion_models.cpp.

Here is the caller graph for this function:

◆ predict_expected_state()

Eigen::VectorXf NormalVelocityModel::predict_expected_state ( const Eigen::VectorXf &  expected_state,
const MotionUpdate motion_prediction_data,
const double  time_interval 
) const
overridevirtual

Calculate expected state vector from velocity model using normal motion data Uses translation velocity only.

Parameters
expected_state
motion_prediction_data
time_intervalin seconds
Returns
Eigen::VectorXf

Implements MotionModel.

Definition at line 26 of file motion_models.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _process_noise_covariance_matrix

Eigen::MatrixXf NormalVelocityModel::_process_noise_covariance_matrix
private

Definition at line 141 of file motion_models.hpp.


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