Apollo
11.0
自动驾驶开放平台
context.h
浏览该文件的文档.
1
/******************************************************************************
2
* Copyright 2019 The Apollo Authors. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*****************************************************************************/
19
#pragma once
20
21
#include <string>
22
#include <vector>
23
24
#include "modules/planning/scenarios/traffic_light_unprotected_left_turn/proto/traffic_light_unprotected_left_turn.pb.h"
25
#include "
modules/planning/planning_interface_base/scenario_base/scenario.h
"
26
27
namespace
apollo
{
28
namespace
planning
{
29
30
// stage context
31
struct
TrafficLightUnprotectedLeftTurnContext
:
public
ScenarioContext
{
32
ScenarioTrafficLightUnprotectedLeftTurnConfig
scenario_config
;
33
std::vector<std::string>
current_traffic_light_overlap_ids
;
34
double
creep_start_time
;
35
};
36
37
}
// namespace planning
38
}
// namespace apollo
planning
Planning module main class.
apollo
class register implement
Definition
arena_queue.h:37
scenario.h
apollo::planning::ScenarioContext
Definition
scenario.h:44
apollo::planning::ScenarioTrafficLightUnprotectedLeftTurnConfig
Definition
traffic_light_unprotected_left_turn.proto:7
apollo::planning::TrafficLightUnprotectedLeftTurnContext
Definition
context.h:31
apollo::planning::TrafficLightUnprotectedLeftTurnContext::scenario_config
ScenarioTrafficLightUnprotectedLeftTurnConfig scenario_config
Definition
context.h:32
apollo::planning::TrafficLightUnprotectedLeftTurnContext::current_traffic_light_overlap_ids
std::vector< std::string > current_traffic_light_overlap_ids
Definition
context.h:33
apollo::planning::TrafficLightUnprotectedLeftTurnContext::creep_start_time
double creep_start_time
Definition
context.h:34
modules
planning
scenarios
traffic_light_unprotected_left_turn
context.h