|
Formula Student Autonomous Systems
The code for the main driverless system
|
#include <velocities.hpp>

Public Member Functions | |
| Velocities ()=default | |
| Construct a new Velocities object with default values. | |
| Velocities (double velocity_x, double velocity_y, double rotational_velocity, double velocity_x_noise=0.0, double velocity_y_noise=0.0, double rotational_velocity_noise=0.0, rclcpp::Time timestamp=rclcpp::Time(0)) | |
| Construct a new Velocities object with the given velocities and noise. | |
Public Attributes | |
| double | velocity_x = 0.0 |
| double | velocity_y = 0.0 |
| double | rotational_velocity = 0.0 |
| double | velocity_x_noise_ = 0.0 |
| double | velocity_y_noise_ = 0.0 |
| double | rotational_velocity_noise_ = 0.0 |
| rclcpp::Time | timestamp_ = rclcpp::Time(0) |
Definition at line 7 of file velocities.hpp.
|
default |
Construct a new Velocities object with default values.
| common_lib::structures::Velocities::Velocities | ( | double | velocity_x, |
| double | velocity_y, | ||
| double | rotational_velocity, | ||
| double | velocity_x_noise = 0.0, |
||
| double | velocity_y_noise = 0.0, |
||
| double | rotational_velocity_noise = 0.0, |
||
| rclcpp::Time | timestamp = rclcpp::Time(0) |
||
| ) |
Construct a new Velocities object with the given velocities and noise.
| velocity_x | x velocity |
| velocity_y | y velocity |
| rotational_velocity | rotational velocity |
| velocity_x_noise | x velocity noise |
| velocity_y_noise | y velocity noise |
| rotational_velocity_noise | rotational velocity noise (z axis) |
| timestamp | timestamp of the velocities |
Definition at line 5 of file velocities.cpp.
| double common_lib::structures::Velocities::rotational_velocity = 0.0 |
Definition at line 10 of file velocities.hpp.
| double common_lib::structures::Velocities::rotational_velocity_noise_ = 0.0 |
Definition at line 14 of file velocities.hpp.
| rclcpp::Time common_lib::structures::Velocities::timestamp_ = rclcpp::Time(0) |
Definition at line 16 of file velocities.hpp.
| double common_lib::structures::Velocities::velocity_x = 0.0 |
Definition at line 8 of file velocities.hpp.
| double common_lib::structures::Velocities::velocity_x_noise_ = 0.0 |
Definition at line 12 of file velocities.hpp.
| double common_lib::structures::Velocities::velocity_y = 0.0 |
Definition at line 9 of file velocities.hpp.
| double common_lib::structures::Velocities::velocity_y_noise_ = 0.0 |
Definition at line 13 of file velocities.hpp.