Apollo  6.0
Open source self driving car software
camera_lib_calibrator_laneline_lane_io.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 <algorithm>
19 #include <fstream>
20 #include <string>
21 #include <vector>
22 
25 
26 namespace apollo {
27 namespace perception {
28 namespace camera {
29 
30 bool ParseOneLaneLine(const std::string &s, LaneLine *lane_line);
31 
32 bool LoadLaneDet(const std::string &filename, EgoLane *ego_lane);
33 
34 // bool LoadLaneDets(const std::string path, const std::string suffix,
35 // std::vector<std::string> *fnames, // named with time-stamp
36 // std::vector<EgoLane> *ego_lanes);
37 
38 std::vector<std::string> Split(const std::string &s,
39  const std::string &separator);
40 
41 bool LoadCamera2WorldTfs(const std::string &filename,
42  std::vector<std::string> *frame_list,
43  std::vector<double> *time_stamps,
44  std::vector<Eigen::Matrix4d> *camera2world);
45 
46 } // namespace camera
47 } // namespace perception
48 } // namespace apollo
bool LoadCamera2WorldTfs(const std::string &filename, std::vector< std::string > *frame_list, std::vector< double > *time_stamps, std::vector< Eigen::Matrix4d > *camera2world)
PlanningContext is the runtime context in planning. It is persistent across multiple frames...
Definition: atomic_hash_map.h:25
bool ParseOneLaneLine(const std::string &s, LaneLine *lane_line)
std::vector< std::string > Split(const std::string &s, const std::string &separator)
bool LoadLaneDet(const std::string &filename, EgoLane *ego_lane)