Apollo  6.0
Open source self driving car software
debug_info.h
Go to the documentation of this file.
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 #pragma once
17 
18 #include <fstream>
19 #include <string>
20 #include <vector>
21 
25 
26 namespace apollo {
27 namespace perception {
28 namespace camera {
29 void WriteCamera2World(std::ofstream &fout, int frame_num,
30  const Eigen::Affine3d &pose);
31 void WriteTracking(std::ofstream &fout, int frame_num,
32  const std::vector<base::ObjectPtr> &tracked_object);
33 int WriteDetections(const bool enable, const std::string &out_path,
34  const std::vector<base::ObjectPtr> &objects);
35 int WriteDetections(const bool enable, const std::string &out_path,
36  CameraFrame *frame);
37 int WriteLanelines(const bool enable, const std::string &save_path,
38  const std::vector<base::LaneLine> &lane_objects);
39 
40 int WriteCalibrationOutput(bool enable, const std::string &out_path,
41  const CameraFrame *frame);
42 void WriteFusionTracking(std::ofstream &fout, int frame_num,
43  const std::string &camera_name,
44  const std::vector<base::ObjectPtr> &tracked_object);
45 } // namespace camera
46 } // namespace perception
47 } // namespace apollo
void WriteTracking(std::ofstream &fout, int frame_num, const std::vector< base::ObjectPtr > &tracked_object)
int WriteDetections(const bool enable, const std::string &out_path, const std::vector< base::ObjectPtr > &objects)
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
void WriteCamera2World(std::ofstream &fout, int frame_num, const Eigen::Affine3d &pose)
int WriteCalibrationOutput(bool enable, const std::string &out_path, const CameraFrame *frame)
int WriteLanelines(const bool enable, const std::string &save_path, const std::vector< base::LaneLine > &lane_objects)
Eigen::Affine3d Affine3d
Definition: base_map_fwd.h:34
void WriteFusionTracking(std::ofstream &fout, int frame_num, const std::string &camera_name, const std::vector< base::ObjectPtr > &tracked_object)