bugfix order of params from json config

This commit is contained in:
2022-01-05 23:45:45 +01:00
parent 9986d21e85
commit 48b68668f4
3 changed files with 9 additions and 5 deletions
+5 -1
View File
@@ -20,6 +20,8 @@ struct UdpRecvConfig {
config_parameters["detector_type"].GetString(),
config_parameters["n_modules"].GetInt(),
config_parameters["bit_depth"].GetInt(),
config_parameters["image_height"].GetInt(),
config_parameters["image_width"].GetInt(),
config_parameters["start_udp_port"].GetInt(),
};
}
@@ -27,8 +29,10 @@ struct UdpRecvConfig {
const std::string detector_name;
const std::string detector_type;
const int n_modules;
const int start_udp_port;
const int bit_depth;
const int image_height;
const int image_width;
const int start_udp_port;
};