Rename kamil_adc to rph_radar and fix its data path

This commit is contained in:
Ayzen
2026-10-06 18:15:18 +03:00
parent aef549ea76
commit a185e61495
94 changed files with 2851 additions and 9485 deletions
@@ -8,16 +8,6 @@
"force_external_reference": false,
"recovery_attempts": 3
},
"kamil_adc": {
"project_dir": "",
"executable_path": "",
"tty_path": "",
"args": [],
"env": {},
"startup_timeout_s": 5.0,
"sweep_timeout_s": 5.0,
"stop_timeout_s": 2.0
},
"laser_control": {
"enabled": false,
"port": "",
@@ -8,19 +8,9 @@
"20A1307D5532",
"2072306C5532"
],
"force_external_reference": true,
"force_external_reference": false,
"recovery_attempts": 3
},
"kamil_adc": {
"project_dir": "",
"executable_path": "",
"tty_path": "",
"args": [],
"env": {},
"startup_timeout_s": 5.0,
"sweep_timeout_s": 5.0,
"stop_timeout_s": 2.0
},
"laser_control": {
"enabled": false,
"port": "",
@@ -8,19 +8,9 @@
"206930965532",
"206930A15532"
],
"force_external_reference": true,
"force_external_reference": false,
"recovery_attempts": 3
},
"kamil_adc": {
"project_dir": "",
"executable_path": "",
"tty_path": "",
"args": [],
"env": {},
"startup_timeout_s": 5.0,
"sweep_timeout_s": 5.0,
"stop_timeout_s": 2.0
},
"laser_control": {
"enabled": false,
"port": "",
@@ -1,40 +1,19 @@
{
"radar": {
"model": "librevna_multi",
"serial": "206830985532",
"serial": "209E307A5532",
"driver_mode": "native",
"multi_device": {
"slave_serials": [
"206930965532",
"206930A15532"
"20A1307D5532",
"2072306C5532"
],
"force_external_reference": true,
"force_external_reference": false,
"recovery_attempts": 3,
"output_switch_positions": 1,
"input_switch_positions": 1,
"stimulus_switch_positions": 2
},
"kamil_adc": {
"project_dir": "",
"executable_path": "",
"tty_path": "",
"args": [],
"env": {},
"startup_timeout_s": 5.0,
"sweep_timeout_s": 5.0,
"stop_timeout_s": 2.0,
"phase_calibration": {
"phase0_rad": 0.0,
"freq0_hz": 2046000000.0,
"phase1_rad": 300.0,
"freq1_hz": 5612000000.0
},
"band": {
"start_hz": 2100000000.0,
"stop_hz": 5500000000.0,
"points": 2048
}
},
"laser_control": {
"enabled": false,
"port": "",
@@ -59,17 +38,16 @@
"max_value": 35.0,
"step": 0.1,
"time_step": 20,
"delay_time": 3,
"temp_tolerance_c": 0.03
"delay_time": 3
}
},
"sweep": {
"start_hz": 1000000.0,
"start_hz": 500000000.0,
"stop_hz": 6000000000.0,
"points": 1031,
"if_bandwidth_hz": 50000.0,
"stimulus_power_dbm": -10.0,
"dwell_us": 2,
"points": 201
"stimulus_power_dbm": -3.0
}
},
"switches": {
@@ -190,11 +168,15 @@
"preprocess": {
"s21": {
"calibration": {
"set_name": "smoke_cal3",
"set_name": "20260930_low_krot",
"bundle_path": ""
},
"reference": {
"set_name": "smoke_cal3",
"set_name": "new_cable_nul",
"bundle_path": ""
},
"object_calibration": {
"set_name": "",
"bundle_path": ""
}
},
@@ -210,51 +192,51 @@
"tx_geometry": [
{
"output_pos": 0,
"x_m": 0.905,
"x_m": -0.89,
"y_m": 0.0,
"z_m": 0.0
},
{
"output_pos": 1,
"x_m": -0.905,
"x_m": 0.89,
"y_m": 0.0,
"z_m": 0.0
},
{
"output_pos": 2,
"x_m": 0.905,
"y_m": 0.0,
"x_m": -0.32,
"y_m": 0.46,
"z_m": 0.0
},
{
"output_pos": 3,
"x_m": -0.905,
"y_m": 0.0,
"x_m": 0.32,
"y_m": 0.46,
"z_m": 0.0
}
],
"rx_geometry": [
{
"input_pos": 0,
"x_m": -0.18,
"x_m": 0.23,
"y_m": 0.0,
"z_m": 0.0
},
{
"input_pos": 1,
"x_m": 0.485,
"y_m": 0.0,
"x_m": 0.53,
"y_m": 0.3,
"z_m": 0.0
},
{
"input_pos": 2,
"x_m": -0.49,
"y_m": 0.0,
"x_m": -0.53,
"y_m": 0.145,
"z_m": 0.0
},
{
"input_pos": 3,
"x_m": 0.185,
"x_m": -0.23,
"y_m": 0.0,
"z_m": 0.0
}
@@ -286,5 +268,117 @@
"capacity": 50,
"slot_size_bytes": 2097152
}
},
"gui": {
"version": 1,
"switches": {
"combo_mode": "text",
"combos_text": "0:0,1:0,2:0,3:0,0:1,1:1,2:1,3:1,0:2,1:2,2:2,3:2,0:3,1:3,2:3,3:3",
"single_input": "0",
"single_output": "0"
},
"processing": {
"selected_mode": "sar3d",
"pass_through": {
"show_magnitude": true,
"show_phase": true,
"unwrap_phase": false,
"combo_filter": "",
"fixed_y_enabled": false,
"y_min_db": -100.0,
"y_max_db": 0.0
},
"bscan": {
"axis": "abs",
"cut_m": 0.824,
"max_depth_m": 1.0,
"gain": 1.0,
"start_freq_mhz": 2000.0,
"stop_freq_mhz": 6000.0,
"subtract_mean_ascan": false,
"history_window_scans": 50
},
"gpr": {
"input_positions": "0,1,2,3",
"output_positions": "0,1,2,3",
"min_depth_m": 3.0,
"max_depth_m": 8.0,
"range_comp_power": 0.1,
"object_min_frac": 0.7,
"score_mode": "combined",
"motion_mode": "int_minus",
"look_angle_deg": 10.0,
"direction_sign": 1.0,
"speed_m_s": 0.0,
"ignore_socket_speed_enabled": true,
"max_detected_objects_to_draw": 7,
"draw_top_m_objects": 2,
"object_approach_min_frames": 3,
"start_freq_mhz": 2000.0,
"stop_freq_mhz": 6000.0,
"background_subtract_enabled": false,
"background_mean_count": 10,
"remove_sidelobe_objects_enabled": true,
"imaging_plane_y_m": 0.0,
"render_mode": "heatmap",
"visible_x_min_m": -2.91,
"visible_x_max_m": 2.91,
"visible_z_min_m": 0.0,
"visible_z_max_m": 8.0
},
"legacy_gpr": {
"mode": "point",
"input_positions": "0,1,2,3",
"output_positions": "0,1,2,3",
"min_depth_m": 2.0,
"max_depth_m": 14.0,
"comp_power": 0.2,
"start_freq_mhz": 3000.0,
"stop_freq_mhz": 6000.0,
"speed_m_s": 0.0,
"ignore_socket_speed_enabled": false,
"look_angle_deg": 0.0,
"apply_freq_phase_correction": true,
"reference_mode": "frame_center",
"snr_thresh": 4.5,
"snr_comp_max": 25.0,
"background_subtract_enabled": true,
"background_mean_count": 10,
"render_mode": "heatmap",
"min_visible_pair_count": 1,
"visible_x_min_m": -2.91,
"visible_x_max_m": 2.91,
"visible_z_min_m": 0.0,
"visible_z_max_m": 14.0
},
"sar3d": {
"input_positions": "",
"output_positions": "",
"min_depth_m": 2.5,
"max_depth_m": 8.0,
"start_freq_mhz": 2000.0,
"stop_freq_mhz": 6000.0,
"speed_m_s": 0.0,
"ignore_socket_speed_enabled": false,
"look_angle_deg": 10.0,
"frame_radius": 0,
"voxel_m": 0.02,
"bp_ground_depth_m": 1.25,
"comp_range_power": 0.3,
"use_compensation": true,
"normalize_each_frame": true
}
},
"data_actions": {
"save_path": "",
"save_name": "snapshot_manual",
"record_count": 100
},
"preprocess_dialog": {
"set_name": "new_cable_nul",
"radar_config_dir": "",
"use_all_radar_configs": false,
"median_sweep_count": 5
}
}
}
@@ -8,33 +8,12 @@
"206930965532",
"206930A15532"
],
"force_external_reference": true,
"force_external_reference": false,
"recovery_attempts": 3,
"output_switch_positions": 1,
"input_switch_positions": 1,
"stimulus_switch_positions": 2
},
"kamil_adc": {
"project_dir": "",
"executable_path": "",
"tty_path": "",
"args": [],
"env": {},
"startup_timeout_s": 5.0,
"sweep_timeout_s": 5.0,
"stop_timeout_s": 2.0,
"phase_calibration": {
"phase0_rad": 0.0,
"freq0_hz": 2046000000.0,
"phase1_rad": 300.0,
"freq1_hz": 5612000000.0
},
"band": {
"start_hz": 2100000000.0,
"stop_hz": 5500000000.0,
"points": 2048
}
},
"laser_control": {
"enabled": false,
"port": "",
@@ -59,8 +38,7 @@
"max_value": 35.0,
"step": 0.1,
"time_step": 20,
"delay_time": 3,
"temp_tolerance_c": 0.03
"delay_time": 3
}
},
"sweep": {
@@ -1,6 +1,6 @@
{
"radar": {
"model": "kamil_adc",
"model": "rph_radar",
"serial": "kamil_adc",
"driver_mode": "native",
"multi_device": {
@@ -8,9 +8,9 @@
"force_external_reference": false,
"recovery_attempts": 3
},
"kamil_adc": {
"rph_radar": {
"project_dir": "",
"executable_path": "build/bin/kamil_adc_collector",
"executable_path": "build/bin/rph_radar_collector",
"tty_path": "/tmp/ttyADC_data",
"args": [
"profile:phase",
@@ -8,16 +8,6 @@
"force_external_reference": false,
"recovery_attempts": 3
},
"kamil_adc": {
"project_dir": "",
"executable_path": "",
"tty_path": "",
"args": [],
"env": {},
"startup_timeout_s": 5.0,
"sweep_timeout_s": 5.0,
"stop_timeout_s": 2.0
},
"laser_control": {
"enabled": false,
"port": "",