Files
radar_system/run_config.json
T
2026-03-26 17:21:25 +03:00

127 lines
2.8 KiB
JSON

{
"radar": {
"model": "librevna",
"serial": "",
"driver_mode": "native",
"mock_signal_hz": 5000000.0,
"sweep": {
"start_hz": 1000000.0,
"stop_hz": 6000000000.0,
"points": 201,
"if_bandwidth_hz": 50000.0,
"stimulus_power_dbm": -10.0
}
},
"switches": {
"port1": {
"name": "port1",
"driver_mode": "native",
"driver": "h7992",
"radar_port": 1,
"positions": 4,
"default_position": 0,
"gpio_chip": "/dev/gpiochip0",
"pin_a": 17,
"pin_b": 27,
"invert_logic": false
},
"port2": {
"name": "port2",
"driver_mode": "native",
"driver": "h7992",
"radar_port": 2,
"positions": 4,
"default_position": 0,
"gpio_chip": "/dev/gpiochip0",
"pin_a": 22,
"pin_b": 23,
"invert_logic": false
}
},
"run": {
"settling_ms": 0,
"idle_sleep_ms": 2,
"continuous": true,
"processing_live_config_path": "python_app/runtime/processing_live.json",
"combos": [
{"input": 0, "output": 0},
{"input": 1, "output": 0},
{"input": 2, "output": 0},
{"input": 3, "output": 0},
{"input": 0, "output": 3},
{"input": 1, "output": 3},
{"input": 2, "output": 3},
{"input": 3, "output": 3}
]
},
"preprocess": {
"s21_calibration_set": "",
"s21_reference_set": "",
"s21_calibration_bundle_path": "python_app/runtime/s21_calibration_bundle.bin",
"s21_reference_bundle_path": "python_app/runtime/s21_reference_bundle.bin",
"s11_open_calibration_bundle_path": "",
"s11_short_calibration_bundle_path": "",
"s11_load_calibration_bundle_path": "",
"s11_reference_bundle_path": ""
},
"gpr": {
"mode": "point",
"relative_permittivity": 1.0,
"tx_geometry": [
{
"output_pos": 0,
"x_m": 0.905
},
{
"output_pos": 3,
"x_m": -0.905
}
],
"rx_geometry": [
{
"input_pos": 0,
"x_m": -0.18
},
{
"input_pos": 1,
"x_m": 0.485
},
{
"input_pos": 2,
"x_m": -0.49
},
{
"input_pos": 3,
"x_m": 0.185
}
]
},
"rings": {
"raw": {
"name": "/radar_raw",
"capacity": 50,
"slot_size_bytes": 2097152
},
"raw_tap": {
"name": "/radar_raw_tap",
"capacity": 50,
"slot_size_bytes": 2097152
},
"preprocessed": {
"name": "/radar_preprocessed",
"capacity": 50,
"slot_size_bytes": 2097152
},
"preprocessed_tap": {
"name": "/radar_preprocessed_tap",
"capacity": 50,
"slot_size_bytes": 2097152
},
"results": {
"name": "/radar_results",
"capacity": 50,
"slot_size_bytes": 2097152
}
}
}