added GPR

This commit is contained in:
Ayzen
2026-03-19 19:29:08 +03:00
parent bdefe3f581
commit 9581730e41
39 changed files with 3830 additions and 201 deletions
+42 -4
View File
@@ -28,13 +28,13 @@
"port2": {
"name": "port2",
"driver_mode": "native",
"driver": "hmc349a",
"driver": "h7992",
"radar_port": 2,
"positions": 2,
"positions": 4,
"default_position": 0,
"gpio_chip": "/dev/gpiochip0",
"pin_a": 22,
"pin_b": -1,
"pin_b": 23,
"invert_logic": false
}
},
@@ -45,7 +45,13 @@
"processing_live_config_path": "python_app/runtime/processing_live.json",
"combos": [
{"input": 0, "output": 0},
{"input": 1, "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": {
@@ -54,6 +60,38 @@
"calibration_bundle_path": "python_app/runtime/calibration_bundle.bin",
"reference_bundle_path": "python_app/runtime/reference_bundle.bin"
},
"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",