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