Apollo 10.0
自动驾驶开放平台
submodule_output.cc
浏览该文件的文档.
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 *****************************************************************************/
16
19
20namespace apollo {
21namespace prediction {
22
24 curr_frame_obstacles_.push_back(obstacle);
25}
26
28 ego_vehicle_ = ego_vehicle;
29}
30
32 const std::vector<int>& curr_frame_movable_obstacle_ids) {
34}
35
37 const std::vector<int>& curr_frame_unmovable_obstacle_ids) {
39}
40
45
50
52 curr_scenario_ = scenario;
53}
54
55const std::vector<Obstacle>& SubmoduleOutput::curr_frame_obstacles() const {
57}
58
60
64
68
72
76
77} // namespace prediction
78} // namespace apollo
Cyber has builtin time type Time.
Definition time.h:31
Prediction obstacle.
Definition obstacle.h:52
void set_curr_scenario(const Scenario &scenario)
const std::vector< Obstacle > & curr_frame_obstacles() const
void set_curr_frame_movable_obstacle_ids(const std::vector< int > &curr_frame_movable_obstacle_ids)
std::vector< Obstacle > curr_frame_obstacles_
void InsertEgoVehicle(const Obstacle &&ego_vehicle)
void set_curr_frame_unmovable_obstacle_ids(const std::vector< int > &curr_frame_unmovable_obstacle_ids)
void InsertObstacle(const Obstacle &&obstacle)
void set_curr_frame_considered_obstacle_ids(const std::vector< int > &curr_frame_considered_obstacle_ids)
std::vector< int > curr_frame_considered_obstacle_ids() const
void set_frame_start_time(const apollo::cyber::Time &frame_start_time)
const apollo::cyber::Time & frame_start_time() const
std::vector< int > curr_frame_movable_obstacle_ids() const
const Obstacle & GetEgoVehicle() const
std::vector< int > curr_frame_unmovable_obstacle_ids_
std::vector< int > curr_frame_movable_obstacle_ids_
std::vector< int > curr_frame_considered_obstacle_ids_
std::vector< int > curr_frame_unmovable_obstacle_ids() const
class register implement
Definition arena_queue.h:37
Output information of prediction container submodule