Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
common_lib::structures::VehicleState Struct Reference

#include <vehicle_state.hpp>

Collaboration diagram for common_lib::structures::VehicleState:
Collaboration graph

Public Member Functions

 VehicleState ()=default
 
 VehicleState (Pose pose, double velocity_x, double velocity_y, double rotational_velocity)
 
 VehicleState (double x, double y, double theta, double velocity_x, double velocity_y, double rotational_velocity)
 

Public Attributes

Pose pose
 
double velocity_x = 0.0
 
double velocity_y = 0.0
 
double rotational_velocity = 0.0
 

Detailed Description

Definition at line 9 of file vehicle_state.hpp.

Constructor & Destructor Documentation

◆ VehicleState() [1/3]

common_lib::structures::VehicleState::VehicleState ( )
default

◆ VehicleState() [2/3]

common_lib::structures::VehicleState::VehicleState ( Pose  pose,
double  velocity_x,
double  velocity_y,
double  rotational_velocity 
)

Definition at line 5 of file vehicle_state.cpp.

◆ VehicleState() [3/3]

common_lib::structures::VehicleState::VehicleState ( double  x,
double  y,
double  theta,
double  velocity_x,
double  velocity_y,
double  rotational_velocity 
)

Definition at line 12 of file vehicle_state.cpp.

Member Data Documentation

◆ pose

Pose common_lib::structures::VehicleState::pose

Definition at line 10 of file vehicle_state.hpp.

◆ rotational_velocity

double common_lib::structures::VehicleState::rotational_velocity = 0.0

Definition at line 13 of file vehicle_state.hpp.

◆ velocity_x

double common_lib::structures::VehicleState::velocity_x = 0.0

Definition at line 11 of file vehicle_state.hpp.

◆ velocity_y

double common_lib::structures::VehicleState::velocity_y = 0.0

Definition at line 12 of file vehicle_state.hpp.


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