Apollo 11.0
自动驾驶开放平台
apollo::planning::StGapEstimator类 参考

#include <st_gap_estimator.h>

apollo::planning::StGapEstimator 的协作图:

Public 成员函数

 StGapEstimator ()=delete
 
virtual ~StGapEstimator ()=delete
 

静态 Public 成员函数

static double EstimateSafeOvertakingGap ()
 
static double EstimateSafeFollowingGap (const double target_obs_speed)
 
static double EstimateSafeYieldingGap ()
 
static double EstimateProperOvertakingGap (const double target_obs_speed, const double adc_speed)
 
static double EstimateProperFollowingGap (const double adc_speed)
 
static double EstimateProperYieldingGap ()
 

详细描述

在文件 st_gap_estimator.h 第 25 行定义.

构造及析构函数说明

◆ StGapEstimator()

apollo::planning::StGapEstimator::StGapEstimator ( )
delete

◆ ~StGapEstimator()

virtual apollo::planning::StGapEstimator::~StGapEstimator ( )
virtualdelete

成员函数说明

◆ EstimateProperFollowingGap()

double apollo::planning::StGapEstimator::EstimateProperFollowingGap ( const double  adc_speed)
static

在文件 st_gap_estimator.cc 第 58 行定义.

58 {
59 return std::fmax(adc_speed * FLAGS_follow_time_buffer,
60 FLAGS_follow_min_distance);
61}

◆ EstimateProperOvertakingGap()

double apollo::planning::StGapEstimator::EstimateProperOvertakingGap ( const double  target_obs_speed,
const double  adc_speed 
)
static

在文件 st_gap_estimator.cc 第 49 行定义.

50 {
51 const double overtake_distance_s =
52 std::fmax(std::fmax(adc_speed, target_obs_speed) * kOvertakeTimeBuffer,
53 kMinOvertakeDistance);
54 return overtake_distance_s;
55}

◆ EstimateProperYieldingGap()

double apollo::planning::StGapEstimator::EstimateProperYieldingGap ( )
static

在文件 st_gap_estimator.cc 第 64 行定义.

64 {
65 return FLAGS_yield_distance;
66}

◆ EstimateSafeFollowingGap()

double apollo::planning::StGapEstimator::EstimateSafeFollowingGap ( const double  target_obs_speed)
static

在文件 st_gap_estimator.cc 第 40 行定义.

40 {
41 return target_obs_speed * kDpSafetyTimeBuffer;
42}

◆ EstimateSafeOvertakingGap()

double apollo::planning::StGapEstimator::EstimateSafeOvertakingGap ( )
static

在文件 st_gap_estimator.cc 第 38 行定义.

38{ return kDpSafetyDistance; }

◆ EstimateSafeYieldingGap()

double apollo::planning::StGapEstimator::EstimateSafeYieldingGap ( )
static

在文件 st_gap_estimator.cc 第 44 行定义.

44 {
45 return FLAGS_yield_distance;
46}

该类的文档由以下文件生成: