Apollo 10.0
自动驾驶开放平台
|
#include <adc_trajectory_container.h>
Public 成员函数 | |
ADCTrajectoryContainer () | |
Constructor | |
virtual | ~ADCTrajectoryContainer ()=default |
Destructor | |
void | Insert (const ::google::protobuf::Message &message) override |
Insert a data message into the container | |
bool | IsProtected () const |
Get the right-of-way status of ADC | |
bool | IsPointInJunction (const common::PathPoint &point) const |
Check if a point is in the first junction of the adc trajectory | |
bool | HasOverlap (const LaneSequence &lane_sequence) const |
Has overlap with ADC trajectory | |
void | SetPosition (const common::math::Vec2d &position) |
Set ADC position | |
std::shared_ptr< const hdmap::JunctionInfo > | ADCJunction () const |
Get ADC junction | |
double | ADCDistanceToJunction () const |
Compute ADC's distance to junction | |
const planning::ADCTrajectory & | adc_trajectory () const |
Get ADC planning trajectory | |
bool | IsLaneIdInReferenceLine (const std::string &lane_id) const |
Determine if a lane ID is in the reference line | |
bool | IsLaneIdInTargetReferenceLine (const std::string &lane_id) const |
const std::vector< std::string > & | GetADCLaneIDSequence () const |
const std::vector< std::string > & | GetADCTargetLaneIDSequence () const |
void | SetJunction (const std::string &junction_id, const double distance) |
![]() | |
Container ()=default | |
Constructor | |
virtual | ~Container ()=default |
Destructor | |
在文件 adc_trajectory_container.h 第 37 行定义.
apollo::prediction::ADCTrajectoryContainer::ADCTrajectoryContainer | ( | ) |
Constructor
在文件 adc_trajectory_container.cc 第 32 行定义.
|
virtualdefault |
Destructor
const ADCTrajectory & apollo::prediction::ADCTrajectoryContainer::adc_trajectory | ( | ) | const |
Get ADC planning trajectory
在文件 adc_trajectory_container.cc 第 148 行定义.
double apollo::prediction::ADCTrajectoryContainer::ADCDistanceToJunction | ( | ) | const |
Compute ADC's distance to junction
在文件 adc_trajectory_container.cc 第 144 行定义.
std::shared_ptr< const apollo::hdmap::JunctionInfo > apollo::prediction::ADCTrajectoryContainer::ADCJunction | ( | ) | const |
Get ADC junction
在文件 adc_trajectory_container.cc 第 140 行定义.
const std::vector< std::string > & apollo::prediction::ADCTrajectoryContainer::GetADCLaneIDSequence | ( | ) | const |
在文件 adc_trajectory_container.cc 第 239 行定义.
const std::vector< std::string > & apollo::prediction::ADCTrajectoryContainer::GetADCTargetLaneIDSequence | ( | ) | const |
在文件 adc_trajectory_container.cc 第 245 行定义.
bool apollo::prediction::ADCTrajectoryContainer::HasOverlap | ( | const LaneSequence & | lane_sequence | ) | const |
Has overlap with ADC trajectory
在文件 adc_trajectory_container.cc 第 216 行定义.
|
overridevirtual |
Insert a data message into the container
Data | message to be inserted in protobuf |
实现了 apollo::prediction::Container.
在文件 adc_trajectory_container.cc 第 35 行定义.
bool apollo::prediction::ADCTrajectoryContainer::IsLaneIdInReferenceLine | ( | const std::string & | lane_id | ) | const |
Determine if a lane ID is in the reference line
在文件 adc_trajectory_container.cc 第 152 行定义.
bool apollo::prediction::ADCTrajectoryContainer::IsLaneIdInTargetReferenceLine | ( | const std::string & | lane_id | ) | const |
在文件 adc_trajectory_container.cc 第 157 行定义.
bool apollo::prediction::ADCTrajectoryContainer::IsPointInJunction | ( | const common::PathPoint & | point | ) | const |
Check if a point is in the first junction of the adc trajectory
Point |
在文件 adc_trajectory_container.cc 第 58 行定义.
bool apollo::prediction::ADCTrajectoryContainer::IsProtected | ( | ) | const |
Get the right-of-way status of ADC
在文件 adc_trajectory_container.cc 第 75 行定义.
void apollo::prediction::ADCTrajectoryContainer::SetJunction | ( | const std::string & | junction_id, |
const double | distance | ||
) |
在文件 adc_trajectory_container.cc 第 80 行定义.
void apollo::prediction::ADCTrajectoryContainer::SetPosition | ( | const common::math::Vec2d & | position | ) |
Set ADC position
在文件 adc_trajectory_container.cc 第 227 行定义.