Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Pinoxchio
apollo
提交
69e1fee9
A
apollo
项目概览
Pinoxchio
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
69e1fee9
编写于
12月 13, 2019
作者:
X
Xiangquan Xiao
提交者:
Jiaming Tao
12月 13, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Planning: Remove unnecessary explicit.
上级
1a4fe801
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
24 addition
and
29 deletion
+24
-29
modules/planning/common/decision_data.h
modules/planning/common/decision_data.h
+2
-3
modules/planning/common/obstacle.h
modules/planning/common/obstacle.h
+9
-11
modules/planning/common/speed/st_boundary.h
modules/planning/common/speed/st_boundary.h
+1
-1
modules/planning/constraint_checker/collision_checker.h
modules/planning/constraint_checker/collision_checker.h
+1
-1
modules/planning/lattice/behavior/prediction_querier.h
modules/planning/lattice/behavior/prediction_querier.h
+3
-4
modules/planning/lattice/trajectory_generation/trajectory_evaluator.h
...ning/lattice/trajectory_generation/trajectory_evaluator.h
+1
-1
modules/planning/math/discretized_points_smoothing/fem_pos_deviation_ipopt_interface.h
...ized_points_smoothing/fem_pos_deviation_ipopt_interface.h
+2
-3
modules/planning/reference_line/reference_line.h
modules/planning/reference_line/reference_line.h
+1
-1
modules/planning/scenarios/traffic_light/unprotected_left_turn/traffic_light_unprotected_left_turn_scenario.h
..._left_turn/traffic_light_unprotected_left_turn_scenario.h
+2
-2
modules/planning/scenarios/traffic_light/unprotected_right_turn/traffic_light_unprotected_right_turn_scenario.h
...ight_turn/traffic_light_unprotected_right_turn_scenario.h
+2
-2
未找到文件。
modules/planning/common/decision_data.h
浏览文件 @
69e1fee9
...
...
@@ -43,9 +43,8 @@ struct EnumClassHash {
class
DecisionData
{
public:
explicit
DecisionData
(
const
prediction
::
PredictionObstacles
&
prediction_obstacles
,
const
ReferenceLine
&
reference_line
);
DecisionData
(
const
prediction
::
PredictionObstacles
&
prediction_obstacles
,
const
ReferenceLine
&
reference_line
);
~
DecisionData
()
=
default
;
public:
...
...
modules/planning/common/obstacle.h
浏览文件 @
69e1fee9
...
...
@@ -61,17 +61,15 @@ namespace planning {
class
Obstacle
{
public:
Obstacle
()
=
default
;
explicit
Obstacle
(
const
std
::
string
&
id
,
const
perception
::
PerceptionObstacle
&
perception_obstacle
,
const
prediction
::
ObstaclePriority
::
Priority
&
obstacle_priority
,
const
bool
is_static
);
explicit
Obstacle
(
const
std
::
string
&
id
,
const
perception
::
PerceptionObstacle
&
perception_obstacle
,
const
prediction
::
Trajectory
&
trajectory
,
const
prediction
::
ObstaclePriority
::
Priority
&
obstacle_priority
,
const
bool
is_static
);
Obstacle
(
const
std
::
string
&
id
,
const
perception
::
PerceptionObstacle
&
perception_obstacle
,
const
prediction
::
ObstaclePriority
::
Priority
&
obstacle_priority
,
const
bool
is_static
);
Obstacle
(
const
std
::
string
&
id
,
const
perception
::
PerceptionObstacle
&
perception_obstacle
,
const
prediction
::
Trajectory
&
trajectory
,
const
prediction
::
ObstaclePriority
::
Priority
&
obstacle_priority
,
const
bool
is_static
);
const
std
::
string
&
Id
()
const
{
return
id_
;
}
void
SetId
(
const
std
::
string
&
id
)
{
id_
=
id
;
}
...
...
modules/planning/common/speed/st_boundary.h
浏览文件 @
69e1fee9
...
...
@@ -47,7 +47,7 @@ class STBoundary : public common::math::Polygon2d {
STBoundary
()
=
default
;
explicit
STBoundary
(
const
std
::
vector
<
std
::
pair
<
STPoint
,
STPoint
>>&
point_pairs
,
bool
is_accurate_boundary
=
false
);
bool
is_accurate_boundary
=
false
);
explicit
STBoundary
(
const
common
::
math
::
Box2d
&
box
)
=
delete
;
explicit
STBoundary
(
std
::
vector
<
common
::
math
::
Vec2d
>
points
)
=
delete
;
...
...
modules/planning/constraint_checker/collision_checker.h
浏览文件 @
69e1fee9
...
...
@@ -34,7 +34,7 @@ namespace planning {
class
CollisionChecker
{
public:
explicit
CollisionChecker
(
CollisionChecker
(
const
std
::
vector
<
const
Obstacle
*>&
obstacles
,
const
double
ego_vehicle_s
,
const
double
ego_vehicle_d
,
const
std
::
vector
<
common
::
PathPoint
>&
discretized_reference_line
,
...
...
modules/planning/lattice/behavior/prediction_querier.h
浏览文件 @
69e1fee9
...
...
@@ -32,10 +32,9 @@ namespace planning {
class
PredictionQuerier
{
public:
explicit
PredictionQuerier
(
const
std
::
vector
<
const
Obstacle
*>&
obstacles
,
const
std
::
shared_ptr
<
std
::
vector
<
common
::
PathPoint
>>&
ptr_reference_line
);
PredictionQuerier
(
const
std
::
vector
<
const
Obstacle
*>&
obstacles
,
const
std
::
shared_ptr
<
std
::
vector
<
common
::
PathPoint
>>&
ptr_reference_line
);
virtual
~
PredictionQuerier
()
=
default
;
...
...
modules/planning/lattice/trajectory_generation/trajectory_evaluator.h
浏览文件 @
69e1fee9
...
...
@@ -47,7 +47,7 @@ class TrajectoryEvaluator {
PairCostWithComponents
;
public:
explicit
TrajectoryEvaluator
(
TrajectoryEvaluator
(
const
std
::
array
<
double
,
3
>&
init_s
,
const
PlanningTarget
&
planning_target
,
const
std
::
vector
<
std
::
shared_ptr
<
Curve1d
>>&
lon_trajectories
,
...
...
modules/planning/math/discretized_points_smoothing/fem_pos_deviation_ipopt_interface.h
浏览文件 @
69e1fee9
...
...
@@ -43,9 +43,8 @@ namespace planning {
class
FemPosDeviationIpoptInterface
:
public
Ipopt
::
TNLP
{
public:
explicit
FemPosDeviationIpoptInterface
(
std
::
vector
<
std
::
pair
<
double
,
double
>>
points
,
std
::
vector
<
double
>
bounds
);
FemPosDeviationIpoptInterface
(
std
::
vector
<
std
::
pair
<
double
,
double
>>
points
,
std
::
vector
<
double
>
bounds
);
virtual
~
FemPosDeviationIpoptInterface
()
=
default
;
...
...
modules/planning/reference_line/reference_line.h
浏览文件 @
69e1fee9
...
...
@@ -41,7 +41,7 @@ class ReferenceLine {
ReferenceLine
()
=
default
;
explicit
ReferenceLine
(
const
ReferenceLine
&
reference_line
)
=
default
;
template
<
typename
Iterator
>
explicit
ReferenceLine
(
const
Iterator
begin
,
const
Iterator
end
)
ReferenceLine
(
const
Iterator
begin
,
const
Iterator
end
)
:
reference_points_
(
begin
,
end
),
map_path_
(
std
::
move
(
std
::
vector
<
hdmap
::
MapPathPoint
>
(
begin
,
end
)))
{}
explicit
ReferenceLine
(
const
std
::
vector
<
ReferencePoint
>&
reference_points
);
...
...
modules/planning/scenarios/traffic_light/unprotected_left_turn/traffic_light_unprotected_left_turn_scenario.h
浏览文件 @
69e1fee9
...
...
@@ -44,8 +44,8 @@ struct TrafficLightUnprotectedLeftTurnContext {
class
TrafficLightUnprotectedLeftTurnScenario
:
public
Scenario
{
public:
explicit
TrafficLightUnprotectedLeftTurnScenario
(
const
ScenarioConfig
&
config
,
const
ScenarioContext
*
context
)
TrafficLightUnprotectedLeftTurnScenario
(
const
ScenarioConfig
&
config
,
const
ScenarioContext
*
context
)
:
Scenario
(
config
,
context
)
{}
void
Init
()
override
;
...
...
modules/planning/scenarios/traffic_light/unprotected_right_turn/traffic_light_unprotected_right_turn_scenario.h
浏览文件 @
69e1fee9
...
...
@@ -45,8 +45,8 @@ struct TrafficLightUnprotectedRightTurnContext {
class
TrafficLightUnprotectedRightTurnScenario
:
public
Scenario
{
public:
explicit
TrafficLightUnprotectedRightTurnScenario
(
const
ScenarioConfig
&
config
,
const
ScenarioContext
*
context
)
TrafficLightUnprotectedRightTurnScenario
(
const
ScenarioConfig
&
config
,
const
ScenarioContext
*
context
)
:
Scenario
(
config
,
context
)
{}
void
Init
()
override
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录