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

Data structure to hold motion data. More...

#include <factor_data_structures.hpp>

Collaboration diagram for MotionData:
Collaboration graph

Public Member Functions

 MotionData ()=default
 
 MotionData (std::shared_ptr< Eigen::VectorXd > motion_data, std::shared_ptr< Eigen::VectorXd > motion_data_noise, rclcpp::Time timestamp, MotionInputType type=MotionInputType::VELOCITIES)
 

Public Attributes

std::shared_ptr< Eigen::VectorXd > motion_data_
 
std::shared_ptr< Eigen::VectorXd > motion_data_noise_
 
rclcpp::Time timestamp_
 
MotionInputType type_ = MotionInputType::VELOCITIES
 Type of motion input.
 

Detailed Description

Data structure to hold motion data.

used to record the velocities received and to redo their processing after optimization

Definition at line 19 of file factor_data_structures.hpp.

Constructor & Destructor Documentation

◆ MotionData() [1/2]

MotionData::MotionData ( )
default

◆ MotionData() [2/2]

MotionData::MotionData ( std::shared_ptr< Eigen::VectorXd >  motion_data,
std::shared_ptr< Eigen::VectorXd >  motion_data_noise,
rclcpp::Time  timestamp,
MotionInputType  type = MotionInputType::VELOCITIES 
)
inline

Definition at line 26 of file factor_data_structures.hpp.

Member Data Documentation

◆ motion_data_

std::shared_ptr<Eigen::VectorXd> MotionData::motion_data_

Definition at line 20 of file factor_data_structures.hpp.

◆ motion_data_noise_

std::shared_ptr<Eigen::VectorXd> MotionData::motion_data_noise_

Definition at line 21 of file factor_data_structures.hpp.

◆ timestamp_

rclcpp::Time MotionData::timestamp_

Definition at line 22 of file factor_data_structures.hpp.

◆ type_

Type of motion input.

Definition at line 23 of file factor_data_structures.hpp.


The documentation for this struct was generated from the following file: