Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
vehicle_state.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <utility>
4
5
#include "
common_lib/structures/pose.hpp
"
6
7
namespace
common_lib::structures
{
8
9
struct
VehicleState
{
10
Pose
pose
;
11
double
velocity_x
= 0.0;
12
double
velocity_y
= 0.0;
13
double
rotational_velocity
= 0.0;
14
15
VehicleState
() =
default
;
16
VehicleState
(
Pose
pose
,
double
velocity_x
,
double
velocity_y
,
double
rotational_velocity
);
17
VehicleState
(
double
x,
double
y,
double
theta,
double
velocity_x
,
double
velocity_y
,
18
double
rotational_velocity
);
19
};
20
21
}
// namespace common_lib::structures
common_lib::structures
Definition
cone.hpp:10
pose.hpp
common_lib::structures::Pose
Struct for pose representation.
Definition
pose.hpp:13
common_lib::structures::VehicleState
Definition
vehicle_state.hpp:9
common_lib::structures::VehicleState::rotational_velocity
double rotational_velocity
Definition
vehicle_state.hpp:13
common_lib::structures::VehicleState::pose
Pose pose
Definition
vehicle_state.hpp:10
common_lib::structures::VehicleState::VehicleState
VehicleState()=default
common_lib::structures::VehicleState::velocity_x
double velocity_x
Definition
vehicle_state.hpp:11
common_lib::structures::VehicleState::velocity_y
double velocity_y
Definition
vehicle_state.hpp:12
src
common_lib
include
common_lib
structures
vehicle_state.hpp
Generated by
1.9.8