working version
This commit is contained in:
@@ -309,6 +309,8 @@ void validate_gpr_config(const GprConfig& config, const RunConfig& run_config) {
|
||||
GprTxGeometry entry{};
|
||||
entry.output_pos = optional_u32(*entry_obj, "output_pos", 0U);
|
||||
entry.x_m = optional_f32(*entry_obj, "x_m", 0.0F);
|
||||
entry.y_m = optional_f32(*entry_obj, "y_m", 0.0F);
|
||||
entry.z_m = optional_f32(*entry_obj, "z_m", 0.0F);
|
||||
config.tx_geometry.push_back(std::move(entry));
|
||||
}
|
||||
}
|
||||
@@ -321,6 +323,8 @@ void validate_gpr_config(const GprConfig& config, const RunConfig& run_config) {
|
||||
GprRxGeometry entry{};
|
||||
entry.input_pos = optional_u32(*entry_obj, "input_pos", 0U);
|
||||
entry.x_m = optional_f32(*entry_obj, "x_m", 0.0F);
|
||||
entry.y_m = optional_f32(*entry_obj, "y_m", 0.0F);
|
||||
entry.z_m = optional_f32(*entry_obj, "z_m", 0.0F);
|
||||
config.rx_geometry.push_back(std::move(entry));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user