Formula Student Autonomous Systems
The code for the main driverless system
Loading...
Searching...
No Matches
common_lib::structures::Velocities Struct Reference

#include <velocities.hpp>

Collaboration diagram for common_lib::structures::Velocities:
Collaboration graph

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)
 

Detailed Description

Definition at line 7 of file velocities.hpp.

Constructor & Destructor Documentation

◆ Velocities() [1/2]

common_lib::structures::Velocities::Velocities ( )
default

Construct a new Velocities object with default values.

◆ Velocities() [2/2]

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.

Parameters
velocity_xx velocity
velocity_yy velocity
rotational_velocityrotational velocity
velocity_x_noisex velocity noise
velocity_y_noisey velocity noise
rotational_velocity_noiserotational velocity noise (z axis)
timestamptimestamp of the velocities

Definition at line 5 of file velocities.cpp.

Member Data Documentation

◆ rotational_velocity

double common_lib::structures::Velocities::rotational_velocity = 0.0

Definition at line 10 of file velocities.hpp.

◆ rotational_velocity_noise_

double common_lib::structures::Velocities::rotational_velocity_noise_ = 0.0

Definition at line 14 of file velocities.hpp.

◆ timestamp_

rclcpp::Time common_lib::structures::Velocities::timestamp_ = rclcpp::Time(0)

Definition at line 16 of file velocities.hpp.

◆ velocity_x

double common_lib::structures::Velocities::velocity_x = 0.0

Definition at line 8 of file velocities.hpp.

◆ velocity_x_noise_

double common_lib::structures::Velocities::velocity_x_noise_ = 0.0

Definition at line 12 of file velocities.hpp.

◆ velocity_y

double common_lib::structures::Velocities::velocity_y = 0.0

Definition at line 9 of file velocities.hpp.

◆ velocity_y_noise_

double common_lib::structures::Velocities::velocity_y_noise_ = 0.0

Definition at line 13 of file velocities.hpp.


The documentation for this struct was generated from the following files: