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

Struct for data retrieved by the IMU. More...

#include <motion_models.hpp>

Collaboration diagram for MotionUpdate:
Collaboration graph

Public Attributes

double translational_velocity = 0.0
 Meters per sec.
 
double acceleration_x = 0.0
 Meters per sec.
 
double acceleration_y = 0.0
 Meters per sec.
 
double rotational_velocity = 0.0
 Degrees per sec.
 
double steering_angle = 0.0
 Degrees.
 
rclcpp::Time last_update
 Timestamp of last update.
 

Detailed Description

Struct for data retrieved by the IMU.

Parameters
translational_velocityTranslational velocity of the vehicle
acceleration_xAcceleration in X axis
acceleration_yAcceleration in Y axis
rotational_velocityRotational velocity of the vehicle
steering_angleSteering angle of the vehicle
last_updateTimestamp of last update

Definition at line 20 of file motion_models.hpp.

Member Data Documentation

◆ acceleration_x

double MotionUpdate::acceleration_x = 0.0

Meters per sec.

Definition at line 22 of file motion_models.hpp.

◆ acceleration_y

double MotionUpdate::acceleration_y = 0.0

Meters per sec.

Definition at line 23 of file motion_models.hpp.

◆ last_update

rclcpp::Time MotionUpdate::last_update

Timestamp of last update.

Definition at line 26 of file motion_models.hpp.

◆ rotational_velocity

double MotionUpdate::rotational_velocity = 0.0

Degrees per sec.

Definition at line 24 of file motion_models.hpp.

◆ steering_angle

double MotionUpdate::steering_angle = 0.0

Degrees.

Definition at line 25 of file motion_models.hpp.

◆ translational_velocity

double MotionUpdate::translational_velocity = 0.0

Meters per sec.

Definition at line 21 of file motion_models.hpp.


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