133 {
137
138
139 std::string config_file = FLAGS_ground_service_file;
140 if (!options.config_file.empty()) {
141 config_file = options.config_file;
142 }
143
145
146 GroundServiceConfig config_params;
148 << "Failed to parse GroundServiceConfig config file.";
149
150 double roi_region_rad_x = config_params.roi_rad_x();
151 double roi_region_rad_y = config_params.roi_rad_y();
152 uint32_t rows = config_params.grid_size();
153 uint32_t cols = config_params.grid_size();
154
156
157 return true;
158}
bool Init(double roi_x, double roi_y, uint32_t rows, uint32_t cols)
SceneServiceContentPtr self_content_
bool GetProtoFromFile(const std::string &file_name, google::protobuf::Message *message)
Parses the content of the file specified by the file_name as a representation of protobufs,...
std::string GetCommonConfigFile(const std::string &config_file)
Get the perception common config path