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

Struct for pose representation. More...

#include <pose.hpp>

Inheritance diagram for common_lib::structures::Pose:
Inheritance graph
Collaboration diagram for common_lib::structures::Pose:
Collaboration graph

Public Member Functions

 Pose ()=default
 
 Pose (Position position, double orientation, double orientation_noise=0.0, rclcpp::Time timestamp=rclcpp::Time(0))
 
 Pose (double x, double y, double theta, double x_noise=0.0, double y_noise=0.0, double theta_noise=0.0, rclcpp::Time timestamp=rclcpp::Time(0))
 

Public Attributes

Position position
 
double orientation = 0.0
 
double orientation_noise = 0.0
 theta in radians
 
rclcpp::Time timestamp = rclcpp::Time(0)
 

Detailed Description

Struct for pose representation.

Parameters
positionVehicle coordinates, x and y
orientationOrientation of the vehicle in radians 0 radians is pointing in the positive x direction

Definition at line 13 of file pose.hpp.

Constructor & Destructor Documentation

◆ Pose() [1/3]

common_lib::structures::Pose::Pose ( )
default

◆ Pose() [2/3]

Pose::Pose ( Position  position,
double  orientation,
double  orientation_noise = 0.0,
rclcpp::Time  timestamp = rclcpp::Time(0) 
)

Definition at line 5 of file pose.cpp.

◆ Pose() [3/3]

Pose::Pose ( double  x,
double  y,
double  theta,
double  x_noise = 0.0,
double  y_noise = 0.0,
double  theta_noise = 0.0,
rclcpp::Time  timestamp = rclcpp::Time(0) 
)

Definition at line 11 of file pose.cpp.

Member Data Documentation

◆ orientation

double common_lib::structures::Pose::orientation = 0.0

Definition at line 15 of file pose.hpp.

◆ orientation_noise

double common_lib::structures::Pose::orientation_noise = 0.0

theta in radians

Definition at line 16 of file pose.hpp.

◆ position

Position common_lib::structures::Pose::position

Definition at line 14 of file pose.hpp.

◆ timestamp

rclcpp::Time common_lib::structures::Pose::timestamp = rclcpp::Time(0)

Definition at line 17 of file pose.hpp.


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