Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
base_vel_process_model.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <Eigen/Dense>
4#include <Eigen/Sparse>
5
11public:
13
21 virtual Eigen::Vector3d get_next_velocities(const Eigen::Vector3d& previous_velocities,
22 const Eigen::Vector3d& accelerations,
23 const double time_interval) = 0;
24
32 virtual Eigen::Matrix3d get_jacobian_velocities(
33 const Eigen::Vector3d& previous_velocities,
34 [[maybe_unused]] const Eigen::Vector3d& accelerations, const double time_interval) = 0;
35
43 virtual Eigen::Matrix3d get_jacobian_sensor_data(
44 [[maybe_unused]] const Eigen::Vector3d& previous_velocities,
45 [[maybe_unused]] const Eigen::Vector3d& accelerations, const double time_interval) = 0;
46};
Base class for velocity process models, used to predict the next velocities based on previous velocit...
virtual Eigen::Matrix3d get_jacobian_sensor_data(const Eigen::Vector3d &previous_velocities, const Eigen::Vector3d &accelerations, const double time_interval)=0
Returns the Jacobian of the velocity process model with respect to the accelerations.
virtual Eigen::Vector3d get_next_velocities(const Eigen::Vector3d &previous_velocities, const Eigen::Vector3d &accelerations, const double time_interval)=0
Returns the next velocities based on the previous velocities and accelerations.
virtual Eigen::Matrix3d get_jacobian_velocities(const Eigen::Vector3d &previous_velocities, const Eigen::Vector3d &accelerations, const double time_interval)=0
Returns the Jacobian of the velocity process model.
BaseVelocityProcessModel()=default