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

#include <particle_model.hpp>

Inheritance diagram for CAParticleModel:
Inheritance graph
Collaboration diagram for CAParticleModel:
Collaboration graph

Public Member Functions

 CAParticleModel ()=default
 
Eigen::Vector3d get_next_velocities (const Eigen::Vector3d &previous_velocities, const Eigen::Vector3d &imu_data, const double time_interval) override
 Predicts the next velocities based on the previous velocities and accelerations from IMU.
 
Eigen::Matrix3d get_jacobian_velocities (const Eigen::Vector3d &previous_velocities, const Eigen::Vector3d &imu_data, const double time_interval) override
 Returns the Jacobian of the velocity process model.
 
Eigen::Matrix3d get_jacobian_sensor_data (const Eigen::Vector3d &previous_velocities, const Eigen::Vector3d &accelerations, const double time_interval) override
 Returns the Jacobian of the velocity process model with respect to the accelerations.
 
- Public Member Functions inherited from BaseVelocityProcessModel
 BaseVelocityProcessModel ()=default
 

Detailed Description

Definition at line 9 of file particle_model.hpp.

Constructor & Destructor Documentation

◆ CAParticleModel()

CAParticleModel::CAParticleModel ( )
default

Member Function Documentation

◆ get_jacobian_sensor_data()

Eigen::Matrix3d CAParticleModel::get_jacobian_sensor_data ( const Eigen::Vector3d &  previous_velocities,
const Eigen::Vector3d &  accelerations,
const double  time_interval 
)
overridevirtual

Returns the Jacobian of the velocity process model with respect to the accelerations.

Parameters
previous_velocitiesThe velocities at the previous time step.
accelerationsThe accelerations applied during the time interval.
time_intervalThe time interval over which the accelerations are applied.
Returns
The Jacobian matrix of the velocity process model with respect to the accelerations

Implements BaseVelocityProcessModel.

Definition at line 30 of file particle_model.cpp.

◆ get_jacobian_velocities()

Eigen::Matrix3d CAParticleModel::get_jacobian_velocities ( const Eigen::Vector3d &  previous_velocities,
const Eigen::Vector3d &  accelerations,
const double  time_interval 
)
overridevirtual

Returns the Jacobian of the velocity process model.

Parameters
previous_velocitiesThe velocities at the previous time step.
accelerationsThe accelerations applied during the time interval.
time_intervalThe time interval over which the accelerations are applied.
Returns
The Jacobian matrix of the velocity process model.

Implements BaseVelocityProcessModel.

Definition at line 18 of file particle_model.cpp.

Here is the caller graph for this function:

◆ get_next_velocities()

Eigen::Vector3d CAParticleModel::get_next_velocities ( const Eigen::Vector3d &  previous_velocities,
const Eigen::Vector3d &  imu_data,
const double  time_interval 
)
overridevirtual

Predicts the next velocities based on the previous velocities and accelerations from IMU.

Parameters
previous_velocitiesThe velocities at the previous time step.
imu_dataax, ay and angular velocity (angular velocity not used).
time_intervalThe time interval over which the accelerations are applied.
Returns
The predicted velocities at the next time step.

Implements BaseVelocityProcessModel.

Definition at line 3 of file particle_model.cpp.

Here is the caller graph for this function:

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