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

#include <path_point.hpp>

Collaboration diagram for common_lib::structures::PathPoint:
Collaboration graph

Public Member Functions

 PathPoint ()=default
 
 PathPoint (Position position, double orientation=0, double ideal_velocity=1.0)
 
 PathPoint (double x, double y, double orientation=0, double ideal_velocity=1.0)
 
 PathPoint (PathPoint const &path_point)=default
 
double getX () const
 
double getY () const
 

Public Attributes

Position position
 
double orientation
 
double ideal_velocity = 1.0
 

Friends

bool operator== (const PathPoint &lhs, const PathPoint &rhs)
 

Detailed Description

Definition at line 9 of file path_point.hpp.

Constructor & Destructor Documentation

◆ PathPoint() [1/4]

common_lib::structures::PathPoint::PathPoint ( )
default

◆ PathPoint() [2/4]

common_lib::structures::PathPoint::PathPoint ( Position  position,
double  orientation = 0,
double  ideal_velocity = 1.0 
)

Definition at line 5 of file path_point.cpp.

◆ PathPoint() [3/4]

common_lib::structures::PathPoint::PathPoint ( double  x,
double  y,
double  orientation = 0,
double  ideal_velocity = 1.0 
)

Definition at line 8 of file path_point.cpp.

◆ PathPoint() [4/4]

common_lib::structures::PathPoint::PathPoint ( PathPoint const &  path_point)
default

Member Function Documentation

◆ getX()

double common_lib::structures::PathPoint::getX ( ) const

◆ getY()

double common_lib::structures::PathPoint::getY ( ) const

Friends And Related Symbol Documentation

◆ operator==

bool operator== ( const PathPoint lhs,
const PathPoint rhs 
)
friend

Definition at line 21 of file path_point.hpp.

Member Data Documentation

◆ ideal_velocity

double common_lib::structures::PathPoint::ideal_velocity = 1.0

Definition at line 12 of file path_point.hpp.

◆ orientation

double common_lib::structures::PathPoint::orientation

Definition at line 11 of file path_point.hpp.

◆ position

Position common_lib::structures::PathPoint::position

Definition at line 10 of file path_point.hpp.


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