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
+48 -16
View File
@@ -28,13 +28,13 @@
"port2": {
"name": "port2",
"driver_mode": "mock",
"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
}
},
@@ -53,20 +53,12 @@
"output": 0
},
{
"input": 0,
"output": 1
"input": 2,
"output": 0
},
{
"input": 1,
"output": 1
},
{
"input": 0,
"output": 2
},
{
"input": 1,
"output": 2
"input": 3,
"output": 0
},
{
"input": 0,
@@ -75,6 +67,14 @@
{
"input": 1,
"output": 3
},
{
"input": 2,
"output": 3
},
{
"input": 3,
"output": 3
}
]
},
@@ -84,6 +84,38 @@
"calibration_bundle_path": "/home/europa/Documents/radar_system/python_app/runtime/calibration_bundle.bin",
"reference_bundle_path": "/home/europa/Documents/radar_system/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_smoke_1703912_791574940686872",
@@ -111,4 +143,4 @@
"slot_size_bytes": 2097152
}
}
}
}