Apollo  6.0
Open source self driving car software
Public Types | Public Member Functions | List of all members
apollo::planning::PathData Class Reference

#include <path_data.h>

Collaboration diagram for apollo::planning::PathData:
Collaboration graph

Public Types

enum  PathPointType {
  PathPointType::IN_LANE, PathPointType::OUT_ON_FORWARD_LANE, PathPointType::OUT_ON_REVERSE_LANE, PathPointType::OFF_ROAD,
  PathPointType::UNKNOWN
}
 

Public Member Functions

 PathData ()=default
 
bool SetDiscretizedPath (DiscretizedPath path)
 
bool SetFrenetPath (FrenetFramePath frenet_path)
 
void SetReferenceLine (const ReferenceLine *reference_line)
 
bool SetPathPointDecisionGuide (std::vector< std::tuple< double, PathPointType, double >> path_point_decision_guide)
 
const DiscretizedPathdiscretized_path () const
 
const FrenetFramePathfrenet_frame_path () const
 
const std::vector< std::tuple< double, PathPointType, double > > & path_point_decision_guide () const
 
common::PathPoint GetPathPointWithPathS (const double s) const
 
bool GetPathPointWithRefS (const double ref_s, common::PathPoint *const path_point) const
 
bool LeftTrimWithRefS (const common::FrenetFramePoint &frenet_point)
 
bool UpdateFrenetFramePath (const ReferenceLine *reference_line)
 
void Clear ()
 
bool Empty () const
 
std::string DebugString () const
 
void set_path_label (const std::string &label)
 
const std::string & path_label () const
 
void set_blocking_obstacle_id (const std::string &obs_id)
 
const std::string & blocking_obstacle_id () const
 
const bool is_valid_path_reference () const
 
void set_is_valid_path_reference (bool is_valid_path_reference)
 
const bool is_optimized_towards_trajectory_reference () const
 
void set_is_optimized_towards_trajectory_reference (bool is_optimized_towards_trajectory_reference)
 
const std::vector< common::PathPoint > & path_reference () const
 
void set_path_reference (const std::vector< common::PathPoint > &path_reference)
 

Member Enumeration Documentation

◆ PathPointType

Enumerator
IN_LANE 
OUT_ON_FORWARD_LANE 
OUT_ON_REVERSE_LANE 
OFF_ROAD 
UNKNOWN 

Constructor & Destructor Documentation

◆ PathData()

apollo::planning::PathData::PathData ( )
default

Member Function Documentation

◆ blocking_obstacle_id()

const std::string& apollo::planning::PathData::blocking_obstacle_id ( ) const
inline

◆ Clear()

void apollo::planning::PathData::Clear ( )

◆ DebugString()

std::string apollo::planning::PathData::DebugString ( ) const

◆ discretized_path()

const DiscretizedPath& apollo::planning::PathData::discretized_path ( ) const

◆ Empty()

bool apollo::planning::PathData::Empty ( ) const

◆ frenet_frame_path()

const FrenetFramePath& apollo::planning::PathData::frenet_frame_path ( ) const

◆ GetPathPointWithPathS()

common::PathPoint apollo::planning::PathData::GetPathPointWithPathS ( const double  s) const

◆ GetPathPointWithRefS()

bool apollo::planning::PathData::GetPathPointWithRefS ( const double  ref_s,
common::PathPoint *const  path_point 
) const

◆ is_optimized_towards_trajectory_reference()

const bool apollo::planning::PathData::is_optimized_towards_trajectory_reference ( ) const
inline

◆ is_valid_path_reference()

const bool apollo::planning::PathData::is_valid_path_reference ( ) const
inline

◆ LeftTrimWithRefS()

bool apollo::planning::PathData::LeftTrimWithRefS ( const common::FrenetFramePoint &  frenet_point)

◆ path_label()

const std::string& apollo::planning::PathData::path_label ( ) const

◆ path_point_decision_guide()

const std::vector<std::tuple<double, PathPointType, double> >& apollo::planning::PathData::path_point_decision_guide ( ) const

◆ path_reference()

const std::vector<common::PathPoint>& apollo::planning::PathData::path_reference ( ) const

◆ set_blocking_obstacle_id()

void apollo::planning::PathData::set_blocking_obstacle_id ( const std::string &  obs_id)
inline

◆ set_is_optimized_towards_trajectory_reference()

void apollo::planning::PathData::set_is_optimized_towards_trajectory_reference ( bool  is_optimized_towards_trajectory_reference)
inline

◆ set_is_valid_path_reference()

void apollo::planning::PathData::set_is_valid_path_reference ( bool  is_valid_path_reference)
inline

◆ set_path_label()

void apollo::planning::PathData::set_path_label ( const std::string &  label)

◆ set_path_reference()

void apollo::planning::PathData::set_path_reference ( const std::vector< common::PathPoint > &  path_reference)

◆ SetDiscretizedPath()

bool apollo::planning::PathData::SetDiscretizedPath ( DiscretizedPath  path)

◆ SetFrenetPath()

bool apollo::planning::PathData::SetFrenetPath ( FrenetFramePath  frenet_path)

◆ SetPathPointDecisionGuide()

bool apollo::planning::PathData::SetPathPointDecisionGuide ( std::vector< std::tuple< double, PathPointType, double >>  path_point_decision_guide)

◆ SetReferenceLine()

void apollo::planning::PathData::SetReferenceLine ( const ReferenceLine reference_line)

◆ UpdateFrenetFramePath()

bool apollo::planning::PathData::UpdateFrenetFramePath ( const ReferenceLine reference_line)

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