Apollo 10.0
自动驾驶开放平台
local_view.h
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2018 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 *****************************************************************************/
16
17#pragma once
18
19#include <memory>
20
21#include "modules/common_msgs/chassis_msgs/chassis.pb.h"
22#include "modules/common_msgs/localization_msgs/localization.pb.h"
23#include "modules/common_msgs/perception_msgs/traffic_light_detection.pb.h"
24#include "modules/common_msgs/planning_msgs/navigation.pb.h"
25#include "modules/common_msgs/planning_msgs/pad_msg.pb.h"
26#include "modules/common_msgs/planning_msgs/planning_command.pb.h"
27#include "modules/common_msgs/prediction_msgs/prediction_obstacle.pb.h"
28#include "modules/common_msgs/routing_msgs/routing.pb.h"
29#include "modules/common_msgs/storytelling_msgs/story.pb.h"
30#include "modules/common_msgs/control_msgs/control_interactive_msg.pb.h"
31
32namespace apollo {
33namespace planning {
34
40struct LocalView {
41 std::shared_ptr<prediction::PredictionObstacles> prediction_obstacles;
42 std::shared_ptr<canbus::Chassis> chassis;
43 std::shared_ptr<localization::LocalizationEstimate> localization_estimate;
44 std::shared_ptr<perception::TrafficLightDetection> traffic_light;
45 std::shared_ptr<relative_map::MapMsg> relative_map;
46 std::shared_ptr<PadMessage> pad_msg;
47 std::shared_ptr<storytelling::Stories> stories;
48 std::shared_ptr<PlanningCommand> planning_command;
49 std::shared_ptr<routing::LaneWaypoint> end_lane_way_point;
50 std::shared_ptr<control::ControlInteractiveMsg> control_interactive_msg;
51 std::shared_ptr<perception::PerceptionAccurateDockInfo> perception_dock;
52};
53
54} // namespace planning
55} // namespace apollo
Planning module main class.
class register implement
Definition arena_queue.h:37
std::shared_ptr< routing::LaneWaypoint > end_lane_way_point
Definition local_view.h:49
std::shared_ptr< PadMessage > pad_msg
Definition local_view.h:46
std::shared_ptr< localization::LocalizationEstimate > localization_estimate
Definition local_view.h:43
std::shared_ptr< perception::PerceptionAccurateDockInfo > perception_dock
Definition local_view.h:51
std::shared_ptr< PlanningCommand > planning_command
Definition local_view.h:48
std::shared_ptr< relative_map::MapMsg > relative_map
Definition local_view.h:45
std::shared_ptr< control::ControlInteractiveMsg > control_interactive_msg
Definition local_view.h:50
std::shared_ptr< prediction::PredictionObstacles > prediction_obstacles
Definition local_view.h:41
std::shared_ptr< storytelling::Stories > stories
Definition local_view.h:47
std::shared_ptr< canbus::Chassis > chassis
Definition local_view.h:42
std::shared_ptr< perception::TrafficLightDetection > traffic_light
Definition local_view.h:44