Apollo 10.0
自动驾驶开放平台
apollo::hdmap::Client类 参考

#include <client.h>

apollo::hdmap::Client 的协作图:

Public 成员函数

 Client ()
 
int Run ()
 

详细描述

在文件 client.h25 行定义.

构造及析构函数说明

◆ Client()

Client::Client ( )

在文件 client.cc35 行定义.

35 {
36 YAML::Node node = YAML::LoadFile(FLAGS_client_conf_yaml);
37 std::string bin_path = boost::filesystem::current_path().string();
38 data_collect_time_flag_file_ =
39 bin_path + "/" + node["time_flag_file"].as<std::string>();
40 channel_checker_stop_flag_file_ =
41 bin_path + "/" +
42 node["channel_check"]["stop_flag_file"].as<std::string>();
43 AINFO << "bin_path: " << bin_path
44 << ", data_collect_time_flag_file_: " << data_collect_time_flag_file_
45 << ", channel_checker_stop_flag_file_: "
46 << channel_checker_stop_flag_file_;
47}
#define AINFO
Definition log.h:42

成员函数说明

◆ Run()

int Client::Run ( )

在文件 client.cc49 行定义.

49 {
50 std::string stage = FLAGS_stage;
51 AINFO << "stage [" << stage << "]";
52 int ret = 0;
53 if ("record_check" == stage) {
54 ret = RecordCheckStage();
55 } else if ("static_align" == stage) {
56 ret = StaticAlignStage();
57 } else if ("eight_route" == stage) {
58 ret = EightRouteStage();
59 } else if ("data_collect" == stage) {
60 ret = DataCollectStage();
61 } else if ("loops_check" == stage) {
62 ret = LoopsCheckStage();
63 } else if ("clean" == stage) {
64 ret = CleanStage();
65 }
66 return ret;
67}

该类的文档由以下文件生成: