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.
2
4
5VehicleState::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
12VehicleState::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
Hash function for cones.
Definition cone.hpp:36
Struct for pose representation.
Definition pose.hpp:13