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/square/proto/square.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
SquareContext
:
public
ScenarioContext
{
32
ScenarioSquareConfig
scenario_config
;
33
std::string
junction_id
;
34
std::string
blocking_obstacle_id
;
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::ScenarioSquareConfig
Definition
square.proto:5
apollo::planning::SquareContext
Definition
context.h:31
apollo::planning::SquareContext::blocking_obstacle_id
std::string blocking_obstacle_id
Definition
context.h:34
apollo::planning::SquareContext::junction_id
std::string junction_id
Definition
context.h:33
apollo::planning::SquareContext::scenario_config
ScenarioSquareConfig scenario_config
Definition
context.h:32
modules
planning
scenarios
square
context.h