Public Member Functions | Private Member Functions | Private Attributes | List of all members
trajectory_processing::Path Class Reference

#include <time_optimal_trajectory_generation.h>

Public Member Functions

Eigen::VectorXd getConfig (double s) const
 
Eigen::VectorXd getCurvature (double s) const
 
double getLength () const
 
double getNextSwitchingPoint (double s, bool &discontinuity) const
 Get the next switching point. More...
 
std::list< std::pair< double, bool > > getSwitchingPoints () const
 Return a list of all switching points as a pair (arc length to switching point, discontinuity) More...
 
Eigen::VectorXd getTangent (double s) const
 
 Path (const Path &path)
 
 Path (const std::list< Eigen::VectorXd > &path, double max_deviation=0.0)
 

Private Member Functions

PathSegmentgetPathSegment (double &s) const
 

Private Attributes

double length_
 
std::list< std::unique_ptr< PathSegment > > path_segments_
 
std::list< std::pair< double, bool > > switching_points_
 

Detailed Description

Definition at line 74 of file time_optimal_trajectory_generation.h.

Constructor & Destructor Documentation

◆ Path() [1/2]

trajectory_processing::Path::Path ( const std::list< Eigen::VectorXd > &  path,
double  max_deviation = 0.0 
)

Definition at line 192 of file time_optimal_trajectory_generation.cpp.

◆ Path() [2/2]

trajectory_processing::Path::Path ( const Path path)

Definition at line 247 of file time_optimal_trajectory_generation.cpp.

Member Function Documentation

◆ getConfig()

Eigen::VectorXd trajectory_processing::Path::getConfig ( double  s) const

Definition at line 274 of file time_optimal_trajectory_generation.cpp.

◆ getCurvature()

Eigen::VectorXd trajectory_processing::Path::getCurvature ( double  s) const

Definition at line 286 of file time_optimal_trajectory_generation.cpp.

◆ getLength()

double trajectory_processing::Path::getLength ( ) const

Definition at line 255 of file time_optimal_trajectory_generation.cpp.

◆ getNextSwitchingPoint()

double trajectory_processing::Path::getNextSwitchingPoint ( double  s,
bool &  discontinuity 
) const

Get the next switching point.

Parameters
[in]sArc length traveled so far
[out]discontinuityTrue if this switching point is a discontinuity
Returns
arc length to the switching point

Definition at line 292 of file time_optimal_trajectory_generation.cpp.

◆ getPathSegment()

PathSegment * trajectory_processing::Path::getPathSegment ( double &  s) const
private

Definition at line 260 of file time_optimal_trajectory_generation.cpp.

◆ getSwitchingPoints()

std::list< std::pair< double, bool > > trajectory_processing::Path::getSwitchingPoints ( ) const

Return a list of all switching points as a pair (arc length to switching point, discontinuity)

Definition at line 308 of file time_optimal_trajectory_generation.cpp.

◆ getTangent()

Eigen::VectorXd trajectory_processing::Path::getTangent ( double  s) const

Definition at line 280 of file time_optimal_trajectory_generation.cpp.

Member Data Documentation

◆ length_

double trajectory_processing::Path::length_
private

Definition at line 96 of file time_optimal_trajectory_generation.h.

◆ path_segments_

std::list<std::unique_ptr<PathSegment> > trajectory_processing::Path::path_segments_
private

Definition at line 98 of file time_optimal_trajectory_generation.h.

◆ switching_points_

std::list<std::pair<double, bool> > trajectory_processing::Path::switching_points_
private

Definition at line 97 of file time_optimal_trajectory_generation.h.


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


moveit_core
Author(s): Ioan Sucan , Sachin Chitta , Acorn Pooley
autogenerated on Thu Apr 18 2024 02:23:42