Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
velocities.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <rclcpp/rclcpp.hpp>
4
6
7struct Velocities {
8 double velocity_x = 0.0;
9 double velocity_y = 0.0;
10 double rotational_velocity = 0.0;
11
12 double velocity_x_noise_ = 0.0;
13 double velocity_y_noise_ = 0.0;
15
16 rclcpp::Time timestamp_ = rclcpp::Time(0); //< Last time the velocities were updated
17
21 Velocities() = default;
22
35 double velocity_x_noise = 0.0, double velocity_y_noise = 0.0,
36 double rotational_velocity_noise = 0.0, rclcpp::Time timestamp = rclcpp::Time(0));
37};
38
39} // namespace common_lib::structures
Velocities()=default
Construct a new Velocities object with default values.