CaptureData commited on
Commit
e4fbd92
·
verified ·
1 Parent(s): a8b2723

Upload 17 files

Browse files

2026-11-13 — First GPDAS Data Acquisition — Session 3

First complete capture session: a Mayo Clinic provider operating the Mikoto G.I. simulator.

Data acquisition was facilitated by GPDAS, designed, built and operated by the UNF Engineering Senior Capstone Team.

Prototype status: Operational acquisition prototype with an incomplete sensor stack. Two camera channels use temporary hardware pending upgrade*.

Location: UNF Optical Communications Lab
Recorded duration: 00:24:38.37 — first to last associated saved Basler frame
Basler frames: 44,352

Directory structure
- recordings — Video feeds and associated camera frame files.
- sensor_data — Raw sensor binary files, CSV data and MCU sequencing files.
- sensor_info — Procedure metadata and system event logs.

Sensor channels
- Encoder1: Digital quadrature encoder measuring counts associated with movement of the scope handle’s small control wheel. Physical displacement calibration remains pending.
- Force1–8: Demonstration/evaluation channels; not validated operator-force measurements. Only Force1 has a connected physical FSR on the prototype board.
- IMU: Not implemented for this collection.

Optical channels
- Basler0: View intended for insertion-depth tracking. Uncompressed 8-bit Bayer data with the original sensor mosaic preserved**.
- Camera1: Temporary overhead view of the insertion area.
- Camera2: Temporary global overview.
- ABox intraluminal video: Corresponding recording identified as ABox clip 0005; document its location or download link alongside this session.

*Camera1 and Camera2 use Logitech webcams pending replacement with Basler machine-vision cameras.
**Encoding and distribution formats are being standardized.

Disclaimer:
This is an initial prototype dataset. Recorded Basler–MCU clock consistency and ABox optical synchronization markers have been analyzed, but system-wide absolute synchronization accuracy has not been established.

.gitattributes CHANGED
@@ -59,3 +59,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  Session1_11_13_26/sensor_data/mcu_samples.csv filter=lfs diff=lfs merge=lfs -text
 
 
59
  *.mp4 filter=lfs diff=lfs merge=lfs -text
60
  *.webm filter=lfs diff=lfs merge=lfs -text
61
  Session1_11_13_26/sensor_data/mcu_samples.csv filter=lfs diff=lfs merge=lfs -text
62
+ Session3_11_13_26/sensor_data/mcu_samples.csv filter=lfs diff=lfs merge=lfs -text
Session3_11_13_26/recordings/S2_INTRALUMINAL.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3873031cb86fb7160fe4627087db85c2812fd20c1fb440ce8aef1ffaaf996305
3
+ size 1162156861
Session3_11_13_26/recordings/basler0.raw.recording.json ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "codec": null,
4
+ "container": "rawvideo",
5
+ "extension": ".raw",
6
+ "lossless": true,
7
+ "note": "Ordinary uncompressed, tightly packed frames plus layout JSON and frame CSV. High storage load; decoded webcams are not sensor raw.",
8
+ "preset": "raw",
9
+ "inactive_overrides": {
10
+ "threads": 1
11
+ },
12
+ "qualification": "configuration only; target capture qualification required",
13
+ "source_layout": {
14
+ "kind": "bayer_rggb",
15
+ "dtype": "uint8",
16
+ "bits": 8,
17
+ "channels": 1,
18
+ "av_format": "gray"
19
+ },
20
+ "width": 1920,
21
+ "height": 1080,
22
+ "fps": 30.0,
23
+ "frames": 44352,
24
+ "finalized": true,
25
+ "media_time_basis": "nominal frame ordinal divided by configured FPS; use frame CSV for acquisition timing",
26
+ "encoded_pixel_format": "gray",
27
+ "frame_bytes": 2073600,
28
+ "writer_stages": {
29
+ "time_basis": "host wall duration, not CPU or exposure time",
30
+ "histogram_upper_bounds_ns": [
31
+ 10000,
32
+ 50000,
33
+ 100000,
34
+ 500000,
35
+ 1000000,
36
+ 5000000,
37
+ 10000000,
38
+ 20000000,
39
+ 50000000,
40
+ 100000000,
41
+ 250000000,
42
+ 500000000,
43
+ 1000000000,
44
+ 5000000000,
45
+ null
46
+ ],
47
+ "stages": {
48
+ "raw_write": {
49
+ "count": 44352,
50
+ "total_ns": 161777699782,
51
+ "max_ns": 72768375,
52
+ "mean_ns": 3647585.2223575036,
53
+ "histogram": [
54
+ 0,
55
+ 0,
56
+ 0,
57
+ 0,
58
+ 92,
59
+ 34713,
60
+ 7257,
61
+ 2080,
62
+ 203,
63
+ 7,
64
+ 0,
65
+ 0,
66
+ 0,
67
+ 0,
68
+ 0
69
+ ]
70
+ },
71
+ "finalize": {
72
+ "count": 1,
73
+ "total_ns": 631495,
74
+ "max_ns": 631495,
75
+ "mean_ns": 631495.0,
76
+ "histogram": [
77
+ 0,
78
+ 0,
79
+ 0,
80
+ 0,
81
+ 1,
82
+ 0,
83
+ 0,
84
+ 0,
85
+ 0,
86
+ 0,
87
+ 0,
88
+ 0,
89
+ 0,
90
+ 0,
91
+ 0
92
+ ]
93
+ }
94
+ }
95
+ }
96
+ }
Session3_11_13_26/recordings/basler0_frames.csv ADDED
The diff for this file is too large to render. See raw diff
 
Session3_11_13_26/recordings/camera1.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa815afb1fae96b4f008f28c153b9cd3e42ba4bfde47fbbe2b8da7cf07bf9a81
3
+ size 2662886068
Session3_11_13_26/recordings/camera1_frames.csv ADDED
The diff for this file is too large to render. See raw diff
 
Session3_11_13_26/recordings/camera2.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:49299ba52ee0b2da67f54760e3e7afaba73fe91177a8620d84f9352464f3445e
3
+ size 1676829052
Session3_11_13_26/recordings/camera2_frames.csv ADDED
The diff for this file is too large to render. See raw diff
 
Session3_11_13_26/sensor_data/mcu_imu.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c2fbf2c25b0dd79e24d232c8fac2dd894c0f17f00e1f0fb8049e6f4f18f0fc6f
3
+ size 94784
Session3_11_13_26/sensor_data/mcu_imu.csv ADDED
The diff for this file is too large to render. See raw diff
 
Session3_11_13_26/sensor_data/mcu_raw.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e1c1d9ad78d8cd93d63a739ab193a6179956eb3c42d89f194efbb0bc388a530
3
+ size 100607428
Session3_11_13_26/sensor_data/mcu_samples.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3e3973e7f18e3f103368ff018a7e295e21808eaaf9ba31d862a5bf79c0227720
3
+ size 217263302
Session3_11_13_26/sensor_data/mcu_timing.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fe178470818ea2c99527ee6a7749c60c427fb8dd55c6c2da5d0b31712f027816
3
+ size 2129376
Session3_11_13_26/sensor_data/mcu_timing.csv ADDED
The diff for this file is too large to render. See raw diff
 
Session3_11_13_26/session_info/events.csv ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ timestamp_utc,state,event,message
2
+ 2026-11-13T20:08:33.506551+00:00,INITIALIZING,STATE_CHANGE,IDLE -> INITIALIZING
3
+ 2026-11-13T20:08:33.506585+00:00,INITIALIZING,SESSION_CREATED,Session folder created
4
+ 2026-11-13T20:08:33.508595+00:00,INITIALIZING,SERIAL_OPEN_START,Opening /dev/ttyACM0 at 1500000 baud
5
+ 2026-11-13T20:08:34.013253+00:00,INITIALIZING,SERIAL_OPENED,Serial port opened successfully
6
+ 2026-11-13T20:08:34.013845+00:00,INITIALIZING,LOGGER_READY,Logger initialized
7
+ 2026-11-13T20:08:34.017049+00:00,INITIALIZING,PACKET_REJECTED,Rejected packet count=1
8
+ 2026-11-13T20:08:35.015159+00:00,INITIALIZING,CONTROL_RX,"{""command"": 18, ""command_seq"": 50203, ""crc"": 53451, ""host_parse_time_ns"": 10088450912763, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
9
+ 2026-11-13T20:08:35.017068+00:00,INITIALIZING,CONTROL_RX,"{""command"": 33, ""command_seq"": 46325, ""crc"": 10964, ""host_parse_time_ns"": 10088452861061, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
10
+ 2026-11-13T20:08:35.019063+00:00,INITIALIZING,CONTROL_RX,"{""command"": 34, ""command_seq"": 46326, ""crc"": 42808, ""host_parse_time_ns"": 10088454859060, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 16, ""sync"": 91, ""version"": 2}"
11
+ 2026-11-13T20:08:35.019089+00:00,INITIALIZING,CAMERA_INIT_START,Initializing basler0
12
+ 2026-11-13T20:08:35.019262+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,basler0 initialized but not recording
13
+ 2026-11-13T20:08:35.019276+00:00,INITIALIZING,CAMERA_INIT_START,Initializing camera1
14
+ 2026-11-13T20:08:35.019348+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,camera1 initialized but not recording
15
+ 2026-11-13T20:08:35.019359+00:00,INITIALIZING,CAMERA_INIT_START,Initializing camera2
16
+ 2026-11-13T20:08:35.019418+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,camera2 initialized but not recording
17
+ 2026-11-13T20:08:35.019436+00:00,INITIALIZING,SERIAL_BUFFER_FLUSH,Initial serial input buffer flush after hardware initialization
18
+ 2026-11-13T20:08:35.019448+00:00,READY,STATE_CHANGE,INITIALIZING -> READY
19
+ 2026-11-13T20:08:35.019455+00:00,READY,SYSTEM_READY,All acquisition resources initialized
20
+ 2026-11-13T20:08:35.019463+00:00,READY,USER_START_WAIT,Waiting for user confirmation before camera/serial warmup
21
+ 2026-11-13T20:08:38.444833+00:00,READY,USER_START_CONFIRMED,User confirmed recording preparation
22
+ 2026-11-13T20:08:38.444894+00:00,READY,CAMERA_PIPELINE_START,"Starting camera pipeline before serial warmup, host_time_ns=10091880702761"
23
+ 2026-11-13T20:08:39.279834+00:00,READY,CAMERA_START,basler0 recording/pre-roll started
24
+ 2026-11-13T20:08:39.481123+00:00,READY,CAMERA_START,camera1 recording/pre-roll started
25
+ 2026-11-13T20:08:39.617993+00:00,READY,CAMERA_START,camera2 recording/pre-roll started
26
+ 2026-11-13T20:08:39.618042+00:00,READY,CAMERA_SETTLE_START,Allowing camera pipeline to settle for 0.5 s
27
+ 2026-11-13T20:08:40.119877+00:00,READY,CAMERA_SETTLE_COMPLETE,Camera pipeline settle complete
28
+ 2026-11-13T20:08:40.119990+00:00,READY,SERIAL_BUFFER_FLUSH,Serial input buffer flushed after camera start/settle
29
+ 2026-11-13T20:08:40.120002+00:00,READY,SERIAL_WARMUP_START,Discarding startup packets before ML-valid logging while camera pipeline is active
30
+ 2026-11-13T20:08:40.322301+00:00,READY,SERIAL_WARMUP_COMPLETE,"Serial warmup complete, valid_packets=200, rejected_packets=1, bytes_read=15474, bytes_resync_discarded=106"
31
+ 2026-11-13T20:08:40.322382+00:00,READY,SERIAL_BUFFER_FLUSH,"Serial input buffer flushed after camera-active warmup, immediately before valid logging"
32
+ 2026-11-13T20:08:40.328029+00:00,READY,MCU_HOST_CLOCK_MAPPER_ANCHOR_SET,"method=first_logged_packet_parse_time_anchor, anchor_t_us=44483000, anchor_seq=44483, anchor_host_time_ns=10093763796874, scale_ns_per_us=1000.0"
33
+ 2026-11-13T20:08:40.328400+00:00,READY,ENCODER_ZERO_SET,"Session encoder zero set: enc1_zero_raw=-287, enc2_zero_raw=0"
34
+ 2026-11-13T20:08:40.328688+00:00,READY,CONTROL_RX,"{""command"": 32, ""command_seq"": 22321, ""crc"": 19389, ""host_parse_time_ns"": 10093764425727, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
35
+ 2026-11-13T20:08:40.331337+00:00,READY,CONTROL_RX,"{""command"": 34, ""command_seq"": 22322, ""crc"": 34773, ""host_parse_time_ns"": 10093767087208, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 17, ""sync"": 91, ""version"": 2}"
36
+ 2026-11-13T20:08:40.331578+00:00,READY,IMU_WARNING,"{""error"": ""bus timed out (detail=0)"", ""imu_epoch"": 2, ""observed_host_time_ns"": 10093767009803, ""revision"": 2, ""state"": ""status_4""}"
37
+ 2026-11-13T20:08:40.357291+00:00,READY,CONTROL_RX,"{""command"": 34, ""command_seq"": 22323, ""crc"": 55940, ""host_parse_time_ns"": 10093793063171, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 19, ""sync"": 91, ""version"": 2}"
38
+ 2026-11-13T20:08:40.357426+00:00,READY,IMU_WARNING,"{""error"": ""IMU initialization failed; other available streams are retained"", ""imu_epoch"": 2, ""observed_host_time_ns"": 10093793203279, ""revision"": 3, ""state"": ""initialization""}"
39
+ 2026-11-13T20:08:40.363376+00:00,READY,CAMERA_TRIGGER_ARMED,"{""acquisition_mode"": ""hardware_trigger"", ""backend"": ""basler"", ""basler"": {""actual_camera_settings"": {""ExposureAuto"": ""Off"", ""ExposureMode"": ""Timed"", ""ExposureTime"": 10000.0, ""Gain"": 24.000003323148814, ""GainAuto"": ""Continuous"", ""Height"": 1080, ""PixelFormat"": ""BayerRG8"", ""TriggerActivation"": ""RisingEdge"", ""TriggerMode"": ""On"", ""TriggerSource"": ""Line1"", ""Width"": 1920}, ""association_verified"": false, ""camera_settings_snapshot"": ""startup before grabbing; automatic gain may change subsequently"", ""chunk_timestamp_event"": ""ExposureStart"", ""chunks"": [""FrameID"", ""CounterValue"", ""Timestamp"", ""ExposureTime""], ""counter_duration"": 4294967295, ""counter_event_activation"": ""RisingEdge"", ""counter_event_source"": ""Line1"", ""counter_reset_source"": ""Off"", ""counter_selector"": ""Counter1"", ""counter_start_status"": ""CounterActive"", ""counter_start_value"": 0, ""counter_trigger_source"": ""SoftwareSignal1"", ""device_id"": ""42022669"", ""fps_semantics"": ""MCU trigger cadence"", ""line_inverter"": false, ""line_mode"": ""Input"", ""line_selector"": ""Line1"", ""recorder_output_format"": {""av_format"": ""gray"", ""bits"": 8, ""channels"": 1, ""dtype"": ""uint8"", ""kind"": ""bayer_rggb""}, ""requested_image_settings"": {""exposure_auto"": ""Off"", ""exposure_time_us"": 10000, ""gain"": null, ""gain_auto"": ""Continuous"", ""pixel_format"": null}, ""unavailable_camera_settings"": []}, ""camera"": ""basler0"", ""camera_readback"": null, ""capture_failure"": null, ""capture_progress"": {""frame_count"": 0}, ""cleanup_errors"": [], ""complete_metadata_frame_count"": 0, ""device_id"": ""42022669"", ""encoder_stages"": {""histogram_upper_bounds_ns"": [10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null], ""stages"": {}, ""time_basis"": ""host wall duration, not CPU or exposure time""}, ""exposure_line"": null, ""feedback_input"": null, ""incomplete_metadata_frame_count"": 0, ""recording"": {""codec"": null, ""container"": ""rawvideo"", ""encoded_pixel_format"": ""gray"", ""extension"": "".raw"", ""finalized"": false, ""fps"": 30.0, ""frame_bytes"": 2073600, ""frames"": 0, ""height"": 1080, ""inactive_overrides"": {""threads"": 1}, ""lossless"": true, ""media_time_basis"": ""nominal frame ordinal divided by configured FPS; use frame CSV for acquisition timing"", ""note"": ""Ordinary uncompressed, tightly packed frames plus layout JSON and frame CSV. High storage load; decoded webcams are not sensor raw."", ""preset"": ""raw"", ""qualification"": ""configuration only; target capture qualification required"", ""source_layout"": {""av_format"": ""gray"", ""bits"": 8, ""channels"": 1, ""dtype"": ""uint8"", ""kind"": ""bayer_rggb""}, ""width"": 1920}, ""recording_queue"": {""accepted_frames"": 0, ""capacity_bytes"": 67108864, ""closed"": false, ""dequeued_frames"": 0, ""error"": null, ""maximum_observed_queue_age_ns"": 0, ""oldest_pending_age_ns"": 0, ""peak_bytes"": 0, ""pending_bytes"": 0, ""pending_frames"": 0, ""rejected_frames"": 0}, ""recording_stages"": {""histogram_upper_bounds_ns"": [10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null], ""stages"": {""backend_read"": {""count"": 1, ""histogram"": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0], ""max_ns"": 1000287243, ""mean_ns"": 1000287243.0, ""total_ns"": 1000287243}}, ""time_basis"": ""host wall duration, not CPU or exposure time""}, ""resource_close_attempted"": false, ""writer_alive"": true}"
40
+ 2026-11-13T20:08:40.367928+00:00,READY,CONTROL_RX,"{""command"": 16, ""command_seq"": 2, ""crc"": 7552, ""host_parse_time_ns"": 10093803662451, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
41
+ 2026-11-13T20:08:40.689477+00:00,RECORDING,STATE_CHANGE,READY -> RECORDING
42
+ 2026-11-13T20:08:40.695474+00:00,RECORDING,VALID_WINDOW_START,"ML-valid data window started, host_time_ns=10094125271457"
43
+ 2026-11-13T20:08:40.695763+00:00,RECORDING,RECORDING_START,DAQ packet logging has started
44
+ 2026-11-13T20:08:42.727714+00:00,RECORDING,CONTROL_RX,"{""command"": 1, ""command_seq"": 1, ""crc"": 9664, ""host_parse_time_ns"": 10096163457687, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
45
+ 2026-11-13T20:08:44.376088+00:00,RECORDING,CONTROL_RX,"{""command_seq"": 1, ""complete_t_us"": 48235544, ""crc"": 3803, ""event_seq"": 3, ""event_type"": 1, ""host_parse_time_ns"": 10097811789230, ""kind"": ""sync_event"", ""length"": 28, ""message_type"": 2, ""start_t_us"": 47185522, ""status"": 0, ""sync"": 91, ""version"": 2}"
46
+ 2026-11-13T20:33:12.101158+00:00,RECORDING,CONTROL_RX,"{""command"": 2, ""command_seq"": 2, ""crc"": 60239, ""host_parse_time_ns"": 11565536923899, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
47
+ 2026-11-13T20:33:13.751436+00:00,RECORDING,CONTROL_RX,"{""command_seq"": 2, ""complete_t_us"": 1517606048, ""crc"": 31722, ""event_seq"": 4, ""event_type"": 2, ""host_parse_time_ns"": 11567187203487, ""kind"": ""sync_event"", ""length"": 28, ""message_type"": 2, ""start_t_us"": 1516556016, ""status"": 0, ""sync"": 91, ""version"": 2}"
48
+ 2026-11-13T20:33:18.762426+00:00,RECORDING,STOP_REQUESTED,Clean DAQCore stop requested by caller
49
+ 2026-11-13T20:33:18.762508+00:00,RECORDING,VALID_WINDOW_STOP,"ML-valid data window stopped, host_time_ns=11572198234292"
50
+ 2026-11-13T20:33:18.766622+00:00,RECORDING,CONTROL_RX,"{""command"": 18, ""command_seq"": 53717, ""crc"": 42756, ""host_parse_time_ns"": 11572202390204, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
51
+ 2026-11-13T20:33:18.769506+00:00,RECORDING,CONTROL_RX,"{""command"": 17, ""command_seq"": 3, ""crc"": 22533, ""host_parse_time_ns"": 11572205237996, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
52
+ 2026-11-13T20:33:19.845494+00:00,RECORDING,CONTROL_RX,"{""command"": 33, ""command_seq"": 46574, ""crc"": 58748, ""host_parse_time_ns"": 11573281264830, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
53
+ 2026-11-13T20:33:19.847424+00:00,RECORDING,CONTROL_RX,"{""command"": 34, ""command_seq"": 46575, ""crc"": 3826, ""host_parse_time_ns"": 11573283199389, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 16, ""sync"": 91, ""version"": 2}"
54
+ 2026-11-13T20:33:19.848775+00:00,RECORDING,CAMERA_STOP,basler0 stop completed
55
+ 2026-11-13T20:33:19.874442+00:00,RECORDING,CAMERA_STOP,camera1 stop completed
56
+ 2026-11-13T20:33:20.123453+00:00,RECORDING,CAMERA_STOP,camera2 stop completed
57
+ 2026-11-13T20:33:20.124255+00:00,RECORDING,SERIAL_CLOSED,Serial port closed
58
+ 2026-11-13T20:33:20.124284+00:00,STOPPING,STATE_CHANGE,RECORDING -> STOPPING
59
+ 2026-11-13T20:33:20.124294+00:00,SAVED,STATE_CHANGE,STOPPING -> SAVED
60
+ 2026-11-13T20:33:20.124303+00:00,SAVED,SESSION_COMPLETE,Session finalized
Session3_11_13_26/session_info/metadata.json ADDED
@@ -0,0 +1,1696 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "session_manager_version": 1,
3
+ "session_id": "2026-11-13_20-08-33_506132",
4
+ "state": "SAVED",
5
+ "start_time_utc": "2026-11-13T20:08:33.506132+00:00",
6
+ "end_time_utc": "2026-11-13T20:33:20.124293+00:00",
7
+ "duration_seconds": 1486.618161,
8
+ "metadata": {
9
+ "mcu_protocol_version": 4,
10
+ "mcu_packet_size_bytes": 68,
11
+ "mcu_sync_byte": 165,
12
+ "mcu_sample_rate_hz": 1000,
13
+ "mcu_fields": [
14
+ "t_us",
15
+ "enc1",
16
+ "enc2",
17
+ "force1",
18
+ "force2",
19
+ "force3",
20
+ "force4",
21
+ "force5",
22
+ "force6",
23
+ "force7",
24
+ "force8",
25
+ "ax",
26
+ "ay",
27
+ "az",
28
+ "gx",
29
+ "gy",
30
+ "gz",
31
+ "cam_trigger_seq",
32
+ "cam_trigger_t_us",
33
+ "seq",
34
+ "flags",
35
+ "lost_samples"
36
+ ],
37
+ "serial_port": "/dev/ttyACM0",
38
+ "baud_rate": 1500000,
39
+ "cameras": {
40
+ "0": {
41
+ "name": "camera0",
42
+ "enabled": false,
43
+ "backend": "picamera2",
44
+ "index": 0,
45
+ "device_id": null,
46
+ "acquisition_mode": "free_run",
47
+ "fps": 30,
48
+ "width": 1280,
49
+ "height": 720,
50
+ "role": "primary_view",
51
+ "video_file": "camera0.mp4",
52
+ "frames_file": "camera0_frames.csv",
53
+ "exposure_line": null,
54
+ "feedback_input": null,
55
+ "exposure_time_us": null,
56
+ "exposure_auto": null,
57
+ "gain": null,
58
+ "gain_auto": null,
59
+ "pixel_format": null,
60
+ "trigger_line": "Line1",
61
+ "trigger_edge": "RisingEdge",
62
+ "recording": {
63
+ "preset": "standard",
64
+ "allow_advanced": false,
65
+ "overrides": {
66
+ "threads": 1
67
+ }
68
+ }
69
+ },
70
+ "1": {
71
+ "name": "basler0",
72
+ "enabled": true,
73
+ "backend": "basler",
74
+ "index": 0,
75
+ "device_id": "42022669",
76
+ "acquisition_mode": "hardware_trigger",
77
+ "fps": 30,
78
+ "width": 1920,
79
+ "height": 1080,
80
+ "role": "external_view",
81
+ "video_file": "basler0.raw",
82
+ "frames_file": "basler0_frames.csv",
83
+ "exposure_line": null,
84
+ "feedback_input": null,
85
+ "exposure_time_us": 10000,
86
+ "exposure_auto": "Off",
87
+ "gain": null,
88
+ "gain_auto": "Continuous",
89
+ "pixel_format": null,
90
+ "trigger_line": "Line1",
91
+ "trigger_edge": "RisingEdge",
92
+ "recording": {
93
+ "preset": "raw",
94
+ "allow_advanced": false,
95
+ "overrides": {
96
+ "threads": 1
97
+ }
98
+ }
99
+ },
100
+ "2": {
101
+ "name": "basler1",
102
+ "enabled": false,
103
+ "backend": "basler",
104
+ "index": 0,
105
+ "device_id": "REPLACE_ACE2_MONO_SERIAL",
106
+ "acquisition_mode": "free_run",
107
+ "fps": 20,
108
+ "width": 1280,
109
+ "height": 720,
110
+ "role": "mono_view",
111
+ "video_file": "basler1.mkv",
112
+ "frames_file": "basler1_frames.csv",
113
+ "exposure_line": null,
114
+ "feedback_input": null,
115
+ "exposure_time_us": null,
116
+ "exposure_auto": null,
117
+ "gain": null,
118
+ "gain_auto": null,
119
+ "pixel_format": null,
120
+ "trigger_line": "Line1",
121
+ "trigger_edge": "RisingEdge",
122
+ "recording": {
123
+ "preset": "lossless",
124
+ "allow_advanced": false,
125
+ "overrides": {
126
+ "threads": 1
127
+ }
128
+ }
129
+ },
130
+ "3": {
131
+ "name": "basler2",
132
+ "enabled": false,
133
+ "backend": "basler",
134
+ "index": 0,
135
+ "device_id": "REPLACE_DART_MONO_SERIAL",
136
+ "acquisition_mode": "free_run",
137
+ "fps": 20,
138
+ "width": 1280,
139
+ "height": 720,
140
+ "role": "mono_aux_view",
141
+ "video_file": "basler2.mkv",
142
+ "frames_file": "basler2_frames.csv",
143
+ "exposure_line": null,
144
+ "feedback_input": null,
145
+ "exposure_time_us": null,
146
+ "exposure_auto": null,
147
+ "gain": null,
148
+ "gain_auto": null,
149
+ "pixel_format": null,
150
+ "trigger_line": "Line1",
151
+ "trigger_edge": "RisingEdge",
152
+ "recording": {
153
+ "preset": "lossless",
154
+ "allow_advanced": false,
155
+ "overrides": {
156
+ "threads": 1
157
+ }
158
+ }
159
+ },
160
+ "4": {
161
+ "name": "camera1",
162
+ "enabled": true,
163
+ "backend": "opencv",
164
+ "index": 0,
165
+ "device_id": null,
166
+ "acquisition_mode": "free_run",
167
+ "fps": 30,
168
+ "width": 1280,
169
+ "height": 800,
170
+ "role": "aux_view_0",
171
+ "video_file": "camera1.mp4",
172
+ "frames_file": "camera1_frames.csv",
173
+ "exposure_line": null,
174
+ "feedback_input": null,
175
+ "exposure_time_us": null,
176
+ "exposure_auto": null,
177
+ "gain": null,
178
+ "gain_auto": null,
179
+ "pixel_format": null,
180
+ "trigger_line": "Line1",
181
+ "trigger_edge": "RisingEdge",
182
+ "recording": {
183
+ "preset": "standard",
184
+ "allow_advanced": false,
185
+ "overrides": {
186
+ "threads": 1
187
+ }
188
+ }
189
+ },
190
+ "5": {
191
+ "name": "camera2",
192
+ "enabled": true,
193
+ "backend": "opencv",
194
+ "index": 2,
195
+ "device_id": null,
196
+ "acquisition_mode": "free_run",
197
+ "fps": 30,
198
+ "width": 1920,
199
+ "height": 1080,
200
+ "role": "aux_view_1",
201
+ "video_file": "camera2.mp4",
202
+ "frames_file": "camera2_frames.csv",
203
+ "exposure_line": null,
204
+ "feedback_input": null,
205
+ "exposure_time_us": null,
206
+ "exposure_auto": null,
207
+ "gain": null,
208
+ "gain_auto": null,
209
+ "pixel_format": null,
210
+ "trigger_line": "Line1",
211
+ "trigger_edge": "RisingEdge",
212
+ "recording": {
213
+ "preset": "standard",
214
+ "allow_advanced": false,
215
+ "overrides": {
216
+ "threads": 1
217
+ }
218
+ }
219
+ }
220
+ },
221
+ "active_cameras": [
222
+ "basler0",
223
+ "camera1",
224
+ "camera2"
225
+ ],
226
+ "mcu_raw_file": "mcu_raw.bin",
227
+ "mcu_samples_file": "mcu_samples.csv",
228
+ "effective_configuration": {
229
+ "session_root": "/var/lib/gpdas/sessions",
230
+ "serial_port": "/dev/ttyACM0",
231
+ "csv_logging_enabled": true,
232
+ "require_start_confirmation": true,
233
+ "require_imu": false,
234
+ "imu_enabled": true,
235
+ "cameras": [
236
+ {
237
+ "name": "camera0",
238
+ "enabled": false,
239
+ "backend": "picamera2",
240
+ "index": 0,
241
+ "device_id": null,
242
+ "acquisition_mode": "free_run",
243
+ "fps": 30,
244
+ "width": 1280,
245
+ "height": 720,
246
+ "role": "primary_view",
247
+ "video_file": "camera0.mp4",
248
+ "frames_file": "camera0_frames.csv",
249
+ "exposure_line": null,
250
+ "feedback_input": null,
251
+ "exposure_time_us": null,
252
+ "exposure_auto": null,
253
+ "gain": null,
254
+ "gain_auto": null,
255
+ "pixel_format": null,
256
+ "trigger_line": "Line1",
257
+ "trigger_edge": "RisingEdge",
258
+ "recording": {
259
+ "preset": "standard",
260
+ "allow_advanced": false,
261
+ "overrides": {
262
+ "threads": 1
263
+ }
264
+ }
265
+ },
266
+ {
267
+ "name": "basler0",
268
+ "enabled": true,
269
+ "backend": "basler",
270
+ "index": 0,
271
+ "device_id": "42022669",
272
+ "acquisition_mode": "hardware_trigger",
273
+ "fps": 30,
274
+ "width": 1920,
275
+ "height": 1080,
276
+ "role": "external_view",
277
+ "video_file": "basler0.raw",
278
+ "frames_file": "basler0_frames.csv",
279
+ "exposure_line": null,
280
+ "feedback_input": null,
281
+ "exposure_time_us": 10000,
282
+ "exposure_auto": "Off",
283
+ "gain": null,
284
+ "gain_auto": "Continuous",
285
+ "pixel_format": null,
286
+ "trigger_line": "Line1",
287
+ "trigger_edge": "RisingEdge",
288
+ "recording": {
289
+ "preset": "raw",
290
+ "allow_advanced": false,
291
+ "overrides": {
292
+ "threads": 1
293
+ }
294
+ }
295
+ },
296
+ {
297
+ "name": "basler1",
298
+ "enabled": false,
299
+ "backend": "basler",
300
+ "index": 0,
301
+ "device_id": "REPLACE_ACE2_MONO_SERIAL",
302
+ "acquisition_mode": "free_run",
303
+ "fps": 20,
304
+ "width": 1280,
305
+ "height": 720,
306
+ "role": "mono_view",
307
+ "video_file": "basler1.mkv",
308
+ "frames_file": "basler1_frames.csv",
309
+ "exposure_line": null,
310
+ "feedback_input": null,
311
+ "exposure_time_us": null,
312
+ "exposure_auto": null,
313
+ "gain": null,
314
+ "gain_auto": null,
315
+ "pixel_format": null,
316
+ "trigger_line": "Line1",
317
+ "trigger_edge": "RisingEdge",
318
+ "recording": {
319
+ "preset": "lossless",
320
+ "allow_advanced": false,
321
+ "overrides": {
322
+ "threads": 1
323
+ }
324
+ }
325
+ },
326
+ {
327
+ "name": "basler2",
328
+ "enabled": false,
329
+ "backend": "basler",
330
+ "index": 0,
331
+ "device_id": "REPLACE_DART_MONO_SERIAL",
332
+ "acquisition_mode": "free_run",
333
+ "fps": 20,
334
+ "width": 1280,
335
+ "height": 720,
336
+ "role": "mono_aux_view",
337
+ "video_file": "basler2.mkv",
338
+ "frames_file": "basler2_frames.csv",
339
+ "exposure_line": null,
340
+ "feedback_input": null,
341
+ "exposure_time_us": null,
342
+ "exposure_auto": null,
343
+ "gain": null,
344
+ "gain_auto": null,
345
+ "pixel_format": null,
346
+ "trigger_line": "Line1",
347
+ "trigger_edge": "RisingEdge",
348
+ "recording": {
349
+ "preset": "lossless",
350
+ "allow_advanced": false,
351
+ "overrides": {
352
+ "threads": 1
353
+ }
354
+ }
355
+ },
356
+ {
357
+ "name": "camera1",
358
+ "enabled": true,
359
+ "backend": "opencv",
360
+ "index": 0,
361
+ "device_id": null,
362
+ "acquisition_mode": "free_run",
363
+ "fps": 30,
364
+ "width": 1280,
365
+ "height": 800,
366
+ "role": "aux_view_0",
367
+ "video_file": "camera1.mp4",
368
+ "frames_file": "camera1_frames.csv",
369
+ "exposure_line": null,
370
+ "feedback_input": null,
371
+ "exposure_time_us": null,
372
+ "exposure_auto": null,
373
+ "gain": null,
374
+ "gain_auto": null,
375
+ "pixel_format": null,
376
+ "trigger_line": "Line1",
377
+ "trigger_edge": "RisingEdge",
378
+ "recording": {
379
+ "preset": "standard",
380
+ "allow_advanced": false,
381
+ "overrides": {
382
+ "threads": 1
383
+ }
384
+ }
385
+ },
386
+ {
387
+ "name": "camera2",
388
+ "enabled": true,
389
+ "backend": "opencv",
390
+ "index": 2,
391
+ "device_id": null,
392
+ "acquisition_mode": "free_run",
393
+ "fps": 30,
394
+ "width": 1920,
395
+ "height": 1080,
396
+ "role": "aux_view_1",
397
+ "video_file": "camera2.mp4",
398
+ "frames_file": "camera2_frames.csv",
399
+ "exposure_line": null,
400
+ "feedback_input": null,
401
+ "exposure_time_us": null,
402
+ "exposure_auto": null,
403
+ "gain": null,
404
+ "gain_auto": null,
405
+ "pixel_format": null,
406
+ "trigger_line": "Line1",
407
+ "trigger_edge": "RisingEdge",
408
+ "recording": {
409
+ "preset": "standard",
410
+ "allow_advanced": false,
411
+ "overrides": {
412
+ "threads": 1
413
+ }
414
+ }
415
+ }
416
+ ],
417
+ "schema_version": 1
418
+ },
419
+ "daqcore_version": "0.5.5",
420
+ "project": "GPDAS",
421
+ "trial_id": "",
422
+ "trial_type": "bench_test",
423
+ "operator_id": "",
424
+ "phantom_configuration": "",
425
+ "test_condition": "",
426
+ "notes": "",
427
+ "gpdas_storage_policy": {},
428
+ "gpdas_imu_interpretation": {
429
+ "schema_version": 1,
430
+ "sensor_id": "",
431
+ "profile": null,
432
+ "profile_sha256": null,
433
+ "sensor_to_handle": null,
434
+ "sensor_identity": "operator_declared",
435
+ "mounting_identity": "unconfigured",
436
+ "profile_file_sha256": null
437
+ },
438
+ "gpdas_channel_registry": {
439
+ "schema_version": 1,
440
+ "channels": [
441
+ {
442
+ "name": "wheel_encoder_1",
443
+ "enabled": true,
444
+ "measurement": "angular_position",
445
+ "source": "mcu_packet",
446
+ "raw_unit": "count",
447
+ "source_field": "enc1",
448
+ "group": "control_wheels",
449
+ "group_index": 1,
450
+ "reference": "session_zeroed"
451
+ },
452
+ {
453
+ "name": "wheel_encoder_2",
454
+ "enabled": true,
455
+ "measurement": "angular_position",
456
+ "source": "mcu_packet",
457
+ "raw_unit": "count",
458
+ "source_field": "enc2",
459
+ "group": "control_wheels",
460
+ "group_index": 2,
461
+ "reference": "session_zeroed"
462
+ },
463
+ {
464
+ "name": "radial_force_01",
465
+ "enabled": true,
466
+ "measurement": "radial_contact_force",
467
+ "source": "mcu_packet",
468
+ "raw_unit": "adc_count",
469
+ "source_field": "force1",
470
+ "group": "radial_force_array",
471
+ "group_index": 1
472
+ },
473
+ {
474
+ "name": "radial_force_02",
475
+ "enabled": true,
476
+ "measurement": "radial_contact_force",
477
+ "source": "mcu_packet",
478
+ "raw_unit": "adc_count",
479
+ "source_field": "force2",
480
+ "group": "radial_force_array",
481
+ "group_index": 2
482
+ },
483
+ {
484
+ "name": "radial_force_03",
485
+ "enabled": false,
486
+ "measurement": "radial_contact_force",
487
+ "source": "mcu_packet",
488
+ "raw_unit": "adc_count",
489
+ "source_field": "force3",
490
+ "group": "radial_force_array",
491
+ "group_index": 3,
492
+ "disabled_reason": "sensor not commissioned"
493
+ },
494
+ {
495
+ "name": "radial_force_04",
496
+ "enabled": false,
497
+ "measurement": "radial_contact_force",
498
+ "source": "mcu_packet",
499
+ "raw_unit": "adc_count",
500
+ "source_field": "force4",
501
+ "group": "radial_force_array",
502
+ "group_index": 4,
503
+ "disabled_reason": "sensor not commissioned"
504
+ },
505
+ {
506
+ "name": "radial_force_05",
507
+ "enabled": false,
508
+ "measurement": "radial_contact_force",
509
+ "source": "mcu_packet",
510
+ "raw_unit": "adc_count",
511
+ "source_field": "force5",
512
+ "group": "radial_force_array",
513
+ "group_index": 5,
514
+ "disabled_reason": "sensor not commissioned"
515
+ },
516
+ {
517
+ "name": "radial_force_06",
518
+ "enabled": false,
519
+ "measurement": "radial_contact_force",
520
+ "source": "mcu_packet",
521
+ "raw_unit": "adc_count",
522
+ "source_field": "force6",
523
+ "group": "radial_force_array",
524
+ "group_index": 6,
525
+ "disabled_reason": "sensor not commissioned"
526
+ },
527
+ {
528
+ "name": "radial_force_07",
529
+ "enabled": false,
530
+ "measurement": "radial_contact_force",
531
+ "source": "mcu_packet",
532
+ "raw_unit": "adc_count",
533
+ "source_field": "force7",
534
+ "group": "radial_force_array",
535
+ "group_index": 7,
536
+ "disabled_reason": "sensor not commissioned"
537
+ },
538
+ {
539
+ "name": "radial_force_08",
540
+ "enabled": false,
541
+ "measurement": "radial_contact_force",
542
+ "source": "mcu_packet",
543
+ "raw_unit": "adc_count",
544
+ "source_field": "force8",
545
+ "group": "radial_force_array",
546
+ "group_index": 8,
547
+ "disabled_reason": "sensor not commissioned"
548
+ },
549
+ {
550
+ "name": "imu_acceleration_x",
551
+ "enabled": false,
552
+ "measurement": "linear_acceleration",
553
+ "source": "mcu_packet",
554
+ "raw_unit": "count",
555
+ "source_field": "ax",
556
+ "group": "imu_acceleration",
557
+ "group_index": 1,
558
+ "disabled_reason": "imu not installed"
559
+ },
560
+ {
561
+ "name": "imu_acceleration_y",
562
+ "enabled": false,
563
+ "measurement": "linear_acceleration",
564
+ "source": "mcu_packet",
565
+ "raw_unit": "count",
566
+ "source_field": "ay",
567
+ "group": "imu_acceleration",
568
+ "group_index": 2,
569
+ "disabled_reason": "imu not installed"
570
+ },
571
+ {
572
+ "name": "imu_acceleration_z",
573
+ "enabled": false,
574
+ "measurement": "linear_acceleration",
575
+ "source": "mcu_packet",
576
+ "raw_unit": "count",
577
+ "source_field": "az",
578
+ "group": "imu_acceleration",
579
+ "group_index": 3,
580
+ "disabled_reason": "imu not installed"
581
+ },
582
+ {
583
+ "name": "imu_angular_velocity_x",
584
+ "enabled": false,
585
+ "measurement": "angular_velocity",
586
+ "source": "mcu_packet",
587
+ "raw_unit": "count",
588
+ "source_field": "gx",
589
+ "group": "imu_angular_velocity",
590
+ "group_index": 1,
591
+ "disabled_reason": "imu not installed"
592
+ },
593
+ {
594
+ "name": "imu_angular_velocity_y",
595
+ "enabled": false,
596
+ "measurement": "angular_velocity",
597
+ "source": "mcu_packet",
598
+ "raw_unit": "count",
599
+ "source_field": "gy",
600
+ "group": "imu_angular_velocity",
601
+ "group_index": 2,
602
+ "disabled_reason": "imu not installed"
603
+ },
604
+ {
605
+ "name": "imu_angular_velocity_z",
606
+ "enabled": false,
607
+ "measurement": "angular_velocity",
608
+ "source": "mcu_packet",
609
+ "raw_unit": "count",
610
+ "source_field": "gz",
611
+ "group": "imu_angular_velocity",
612
+ "group_index": 3,
613
+ "disabled_reason": "imu not installed"
614
+ },
615
+ {
616
+ "name": "insertion_depth",
617
+ "enabled": false,
618
+ "measurement": "linear_position",
619
+ "source": "vision_pipeline",
620
+ "raw_unit": "pixel",
621
+ "group": "insertion",
622
+ "group_index": 1,
623
+ "disabled_reason": "vision pipeline not integrated"
624
+ }
625
+ ]
626
+ },
627
+ "gpdas_calibration_profiles": {
628
+ "profiles": [
629
+ {
630
+ "schema_version": 1,
631
+ "profile_id": "control_wheels_v1",
632
+ "channels": [
633
+ {
634
+ "channel": "wheel_encoder_1",
635
+ "status": "unconfigured",
636
+ "model": "rotary_encoder",
637
+ "input_unit": "count",
638
+ "output_unit": "degree",
639
+ "zero_reference": "session_zeroed"
640
+ },
641
+ {
642
+ "channel": "wheel_encoder_2",
643
+ "status": "unconfigured",
644
+ "model": "rotary_encoder",
645
+ "input_unit": "count",
646
+ "output_unit": "degree",
647
+ "zero_reference": "session_zeroed"
648
+ }
649
+ ]
650
+ },
651
+ {
652
+ "schema_version": 1,
653
+ "profile_id": "radial_force_array_v1",
654
+ "channels": [
655
+ {
656
+ "channel": "radial_force_01",
657
+ "status": "unconfigured",
658
+ "model": "linear",
659
+ "input_unit": "adc_count",
660
+ "output_unit": "newton"
661
+ },
662
+ {
663
+ "channel": "radial_force_02",
664
+ "status": "unconfigured",
665
+ "model": "linear",
666
+ "input_unit": "adc_count",
667
+ "output_unit": "newton"
668
+ },
669
+ {
670
+ "channel": "radial_force_03",
671
+ "status": "unconfigured",
672
+ "model": "linear",
673
+ "input_unit": "adc_count",
674
+ "output_unit": "newton"
675
+ },
676
+ {
677
+ "channel": "radial_force_04",
678
+ "status": "unconfigured",
679
+ "model": "linear",
680
+ "input_unit": "adc_count",
681
+ "output_unit": "newton"
682
+ },
683
+ {
684
+ "channel": "radial_force_05",
685
+ "status": "unconfigured",
686
+ "model": "linear",
687
+ "input_unit": "adc_count",
688
+ "output_unit": "newton"
689
+ },
690
+ {
691
+ "channel": "radial_force_06",
692
+ "status": "unconfigured",
693
+ "model": "linear",
694
+ "input_unit": "adc_count",
695
+ "output_unit": "newton"
696
+ },
697
+ {
698
+ "channel": "radial_force_07",
699
+ "status": "unconfigured",
700
+ "model": "linear",
701
+ "input_unit": "adc_count",
702
+ "output_unit": "newton"
703
+ },
704
+ {
705
+ "channel": "radial_force_08",
706
+ "status": "unconfigured",
707
+ "model": "linear",
708
+ "input_unit": "adc_count",
709
+ "output_unit": "newton"
710
+ }
711
+ ]
712
+ }
713
+ ]
714
+ },
715
+ "gpdas_preview": {
716
+ "enabled": true,
717
+ "refresh_fps": 30,
718
+ "width": 1280,
719
+ "height": 720,
720
+ "layout": "focus",
721
+ "cameras": [
722
+ "basler0",
723
+ "camera1",
724
+ "camera2"
725
+ ],
726
+ "show_plots": true,
727
+ "plot_window_s": 5.0,
728
+ "plot_sample_hz": 20.0,
729
+ "plot_channels": [
730
+ "enc1",
731
+ "force1",
732
+ "force2",
733
+ "force3",
734
+ "force4",
735
+ "force5",
736
+ "force6",
737
+ "force7",
738
+ "force8"
739
+ ],
740
+ "console_enabled": true,
741
+ "console_interval_ms": 200,
742
+ "console_channels": [
743
+ "enc1",
744
+ "force1",
745
+ "force2",
746
+ "force3",
747
+ "force4",
748
+ "force5",
749
+ "force6",
750
+ "force7",
751
+ "force8"
752
+ ],
753
+ "console_imu": false
754
+ },
755
+ "gpdas_storage": {
756
+ "session_root": "/var/lib/gpdas/sessions",
757
+ "guard": {},
758
+ "guard_status": "not_configured",
759
+ "mount": "/",
760
+ "source": "/dev/nvme0n1p2",
761
+ "filesystem": "ext4",
762
+ "free_bytes": 156506480640
763
+ },
764
+ "serial_warmup_target_packets": 200,
765
+ "serial_warmup_timeout_s": 5.0,
766
+ "csv_logging_enabled": true,
767
+ "logger_flush_interval_packets": 100,
768
+ "camera_settle_s": 0.5,
769
+ "valid_start_host_time_ns": 10094125271457,
770
+ "valid_stop_host_time_ns": 11572198234292,
771
+ "camera_pipeline_start_host_time_ns": 10091880702761,
772
+ "sensor_alignment_time_source": "mcu_est_host_time_ns",
773
+ "mcu_host_clock_mapper": {
774
+ "method": "first_logged_packet_parse_time_anchor",
775
+ "anchor_t_us": 44483000,
776
+ "anchor_seq": 44483,
777
+ "anchor_host_time_ns": 10093763796874,
778
+ "scale_ns_per_us": 1000.0,
779
+ "fit_event_count": 1,
780
+ "note": "mcu_est_host_time_ns is derived by mapping STM32 t_us into the Pi monotonic_ns clock domain. Current single-anchor mode removes host burst-read timestamp distortion but does not compensate absolute serial/camera latency. Future hardware sync events can replace this with a fitted clock map."
781
+ },
782
+ "host_time_ns_semantics": "In mcu_samples.csv, host_time_ns is retained as legacy parse time. host_parse_time_ns is the explicit packet parse timestamp. Use mcu_est_host_time_ns for camera/sensor alignment.",
783
+ "trigger_lifecycle": {
784
+ "managed": true,
785
+ "initial_status": {
786
+ "kind": "timing",
787
+ "version": 1,
788
+ "event_type": 5,
789
+ "record_seq": 492,
790
+ "epoch": 1,
791
+ "source": 0,
792
+ "identity": 50203,
793
+ "t_us": 38174930,
794
+ "value": 4295032832,
795
+ "lost_total": 0,
796
+ "flags": 17,
797
+ "crc": 3849
798
+ },
799
+ "start": {
800
+ "kind": "timing",
801
+ "version": 1,
802
+ "event_type": 1,
803
+ "record_seq": 498,
804
+ "epoch": 2,
805
+ "source": 0,
806
+ "identity": 2,
807
+ "t_us": 44525607,
808
+ "value": 479,
809
+ "lost_total": 0,
810
+ "flags": 17,
811
+ "crc": 38259
812
+ },
813
+ "shutdown_status": {
814
+ "kind": "timing",
815
+ "version": 1,
816
+ "event_type": 5,
817
+ "record_seq": 44851,
818
+ "epoch": 2,
819
+ "source": 0,
820
+ "identity": 53717,
821
+ "t_us": 1522920567,
822
+ "value": 4295098369,
823
+ "lost_total": 0,
824
+ "flags": 17,
825
+ "crc": 46449
826
+ },
827
+ "stop": {
828
+ "kind": "timing",
829
+ "version": 1,
830
+ "event_type": 4,
831
+ "record_seq": 44853,
832
+ "epoch": 2,
833
+ "source": 0,
834
+ "identity": 3,
835
+ "t_us": 1522925630,
836
+ "value": 44830,
837
+ "lost_total": 0,
838
+ "flags": 17,
839
+ "crc": 7196
840
+ },
841
+ "camera_drain_skipped": {},
842
+ "camera_drain_complete": {
843
+ "basler0": true
844
+ }
845
+ },
846
+ "camera_acquisition": {
847
+ "basler0": {
848
+ "backend": "basler",
849
+ "acquisition_mode": "hardware_trigger",
850
+ "device_id": "42022669",
851
+ "exposure_line": null,
852
+ "feedback_input": null,
853
+ "complete_metadata_frame_count": 44352,
854
+ "incomplete_metadata_frame_count": 0,
855
+ "capture_progress": {
856
+ "frame_count": 44352,
857
+ "last_frame_index": 44351,
858
+ "last_frame_host_return_time_ns": 11572225993590,
859
+ "last_basler_frame_id": 81683,
860
+ "last_basler_trigger_counter": 44356,
861
+ "last_basler_exposure_start_ticks": 4420725209700
862
+ },
863
+ "capture_failure": null,
864
+ "resource_close_attempted": true,
865
+ "cleanup_errors": [],
866
+ "recording": {
867
+ "codec": null,
868
+ "container": "rawvideo",
869
+ "extension": ".raw",
870
+ "lossless": true,
871
+ "note": "Ordinary uncompressed, tightly packed frames plus layout JSON and frame CSV. High storage load; decoded webcams are not sensor raw.",
872
+ "preset": "raw",
873
+ "inactive_overrides": {
874
+ "threads": 1
875
+ },
876
+ "qualification": "configuration only; target capture qualification required",
877
+ "source_layout": {
878
+ "kind": "bayer_rggb",
879
+ "dtype": "uint8",
880
+ "bits": 8,
881
+ "channels": 1,
882
+ "av_format": "gray"
883
+ },
884
+ "width": 1920,
885
+ "height": 1080,
886
+ "fps": 30.0,
887
+ "frames": 44352,
888
+ "finalized": true,
889
+ "media_time_basis": "nominal frame ordinal divided by configured FPS; use frame CSV for acquisition timing",
890
+ "encoded_pixel_format": "gray",
891
+ "frame_bytes": 2073600,
892
+ "writer_stages": {
893
+ "time_basis": "host wall duration, not CPU or exposure time",
894
+ "histogram_upper_bounds_ns": [
895
+ 10000,
896
+ 50000,
897
+ 100000,
898
+ 500000,
899
+ 1000000,
900
+ 5000000,
901
+ 10000000,
902
+ 20000000,
903
+ 50000000,
904
+ 100000000,
905
+ 250000000,
906
+ 500000000,
907
+ 1000000000,
908
+ 5000000000,
909
+ null
910
+ ],
911
+ "stages": {
912
+ "raw_write": {
913
+ "count": 44352,
914
+ "total_ns": 161777699782,
915
+ "max_ns": 72768375,
916
+ "mean_ns": 3647585.2223575036,
917
+ "histogram": [
918
+ 0,
919
+ 0,
920
+ 0,
921
+ 0,
922
+ 92,
923
+ 34713,
924
+ 7257,
925
+ 2080,
926
+ 203,
927
+ 7,
928
+ 0,
929
+ 0,
930
+ 0,
931
+ 0,
932
+ 0
933
+ ]
934
+ },
935
+ "finalize": {
936
+ "count": 1,
937
+ "total_ns": 631495,
938
+ "max_ns": 631495,
939
+ "mean_ns": 631495.0,
940
+ "histogram": [
941
+ 0,
942
+ 0,
943
+ 0,
944
+ 0,
945
+ 1,
946
+ 0,
947
+ 0,
948
+ 0,
949
+ 0,
950
+ 0,
951
+ 0,
952
+ 0,
953
+ 0,
954
+ 0,
955
+ 0
956
+ ]
957
+ }
958
+ }
959
+ }
960
+ },
961
+ "recording_stages": {
962
+ "time_basis": "host wall duration, not CPU or exposure time",
963
+ "histogram_upper_bounds_ns": [
964
+ 10000,
965
+ 50000,
966
+ 100000,
967
+ 500000,
968
+ 1000000,
969
+ 5000000,
970
+ 10000000,
971
+ 20000000,
972
+ 50000000,
973
+ 100000000,
974
+ 250000000,
975
+ 500000000,
976
+ 1000000000,
977
+ 5000000000,
978
+ null
979
+ ],
980
+ "stages": {
981
+ "backend_read": {
982
+ "count": 44354,
983
+ "total_ns": 1465282920483,
984
+ "max_ns": 1000287243,
985
+ "mean_ns": 33036094.162488163,
986
+ "histogram": [
987
+ 0,
988
+ 0,
989
+ 0,
990
+ 0,
991
+ 0,
992
+ 93,
993
+ 320,
994
+ 2710,
995
+ 39946,
996
+ 1282,
997
+ 1,
998
+ 0,
999
+ 0,
1000
+ 2,
1001
+ 0
1002
+ ]
1003
+ },
1004
+ "retrieve": {
1005
+ "count": 44352,
1006
+ "total_ns": 1230362021573,
1007
+ "max_ns": 132495429,
1008
+ "mean_ns": 27740846.44600018,
1009
+ "histogram": [
1010
+ 0,
1011
+ 0,
1012
+ 39,
1013
+ 85,
1014
+ 19,
1015
+ 157,
1016
+ 628,
1017
+ 5314,
1018
+ 37921,
1019
+ 188,
1020
+ 1,
1021
+ 0,
1022
+ 0,
1023
+ 0,
1024
+ 0
1025
+ ]
1026
+ },
1027
+ "conversion_copy": {
1028
+ "count": 44352,
1029
+ "total_ns": 151480193401,
1030
+ "max_ns": 36874376,
1031
+ "mean_ns": 3415408.400996573,
1032
+ "histogram": [
1033
+ 0,
1034
+ 0,
1035
+ 0,
1036
+ 0,
1037
+ 217,
1038
+ 35210,
1039
+ 7192,
1040
+ 1650,
1041
+ 83,
1042
+ 0,
1043
+ 0,
1044
+ 0,
1045
+ 0,
1046
+ 0,
1047
+ 0
1048
+ ]
1049
+ },
1050
+ "video_encode_write": {
1051
+ "count": 44352,
1052
+ "total_ns": 166864612737,
1053
+ "max_ns": 72818355,
1054
+ "mean_ns": 3762279.3275838746,
1055
+ "histogram": [
1056
+ 0,
1057
+ 0,
1058
+ 0,
1059
+ 0,
1060
+ 20,
1061
+ 34386,
1062
+ 7565,
1063
+ 2164,
1064
+ 210,
1065
+ 7,
1066
+ 0,
1067
+ 0,
1068
+ 0,
1069
+ 0,
1070
+ 0
1071
+ ]
1072
+ },
1073
+ "sidecar_write": {
1074
+ "count": 44352,
1075
+ "total_ns": 3055323953,
1076
+ "max_ns": 14316858,
1077
+ "mean_ns": 68888.07614087302,
1078
+ "histogram": [
1079
+ 0,
1080
+ 26352,
1081
+ 16557,
1082
+ 1084,
1083
+ 89,
1084
+ 243,
1085
+ 23,
1086
+ 4,
1087
+ 0,
1088
+ 0,
1089
+ 0,
1090
+ 0,
1091
+ 0,
1092
+ 0,
1093
+ 0
1094
+ ]
1095
+ },
1096
+ "host_delivery_interval": {
1097
+ "count": 44351,
1098
+ "total_ns": 1478373162265,
1099
+ "max_ns": 88770655,
1100
+ "mean_ns": 33333479.792225655,
1101
+ "histogram": [
1102
+ 0,
1103
+ 0,
1104
+ 0,
1105
+ 0,
1106
+ 0,
1107
+ 79,
1108
+ 298,
1109
+ 2521,
1110
+ 40105,
1111
+ 1348,
1112
+ 0,
1113
+ 0,
1114
+ 0,
1115
+ 0,
1116
+ 0
1117
+ ]
1118
+ },
1119
+ "sidecar_flush": {
1120
+ "count": 1478,
1121
+ "total_ns": 822114658,
1122
+ "max_ns": 25472140,
1123
+ "mean_ns": 556234.5453315291,
1124
+ "histogram": [
1125
+ 0,
1126
+ 264,
1127
+ 551,
1128
+ 403,
1129
+ 81,
1130
+ 145,
1131
+ 30,
1132
+ 3,
1133
+ 1,
1134
+ 0,
1135
+ 0,
1136
+ 0,
1137
+ 0,
1138
+ 0,
1139
+ 0
1140
+ ]
1141
+ }
1142
+ }
1143
+ },
1144
+ "encoder_stages": {
1145
+ "time_basis": "host wall duration, not CPU or exposure time",
1146
+ "histogram_upper_bounds_ns": [
1147
+ 10000,
1148
+ 50000,
1149
+ 100000,
1150
+ 500000,
1151
+ 1000000,
1152
+ 5000000,
1153
+ 10000000,
1154
+ 20000000,
1155
+ 50000000,
1156
+ 100000000,
1157
+ 250000000,
1158
+ 500000000,
1159
+ 1000000000,
1160
+ 5000000000,
1161
+ null
1162
+ ],
1163
+ "stages": {
1164
+ "raw_write": {
1165
+ "count": 44352,
1166
+ "total_ns": 161777699782,
1167
+ "max_ns": 72768375,
1168
+ "mean_ns": 3647585.2223575036,
1169
+ "histogram": [
1170
+ 0,
1171
+ 0,
1172
+ 0,
1173
+ 0,
1174
+ 92,
1175
+ 34713,
1176
+ 7257,
1177
+ 2080,
1178
+ 203,
1179
+ 7,
1180
+ 0,
1181
+ 0,
1182
+ 0,
1183
+ 0,
1184
+ 0
1185
+ ]
1186
+ },
1187
+ "finalize": {
1188
+ "count": 1,
1189
+ "total_ns": 631495,
1190
+ "max_ns": 631495,
1191
+ "mean_ns": 631495.0,
1192
+ "histogram": [
1193
+ 0,
1194
+ 0,
1195
+ 0,
1196
+ 0,
1197
+ 1,
1198
+ 0,
1199
+ 0,
1200
+ 0,
1201
+ 0,
1202
+ 0,
1203
+ 0,
1204
+ 0,
1205
+ 0,
1206
+ 0,
1207
+ 0
1208
+ ]
1209
+ }
1210
+ }
1211
+ },
1212
+ "recording_queue": {
1213
+ "capacity_bytes": 67108864,
1214
+ "pending_bytes": 0,
1215
+ "peak_bytes": 4147200,
1216
+ "pending_frames": 0,
1217
+ "accepted_frames": 44352,
1218
+ "dequeued_frames": 44352,
1219
+ "oldest_pending_age_ns": 0,
1220
+ "maximum_observed_queue_age_ns": 47211668,
1221
+ "closed": true,
1222
+ "error": null,
1223
+ "rejected_frames": 0
1224
+ },
1225
+ "writer_alive": false,
1226
+ "camera_readback": null,
1227
+ "basler": {
1228
+ "line_selector": "Line1",
1229
+ "line_mode": "Input",
1230
+ "line_inverter": false,
1231
+ "counter_selector": "Counter1",
1232
+ "counter_event_source": "Line1",
1233
+ "counter_event_activation": "RisingEdge",
1234
+ "counter_trigger_source": "SoftwareSignal1",
1235
+ "counter_reset_source": "Off",
1236
+ "counter_duration": 4294967295,
1237
+ "chunks": [
1238
+ "FrameID",
1239
+ "CounterValue",
1240
+ "Timestamp",
1241
+ "ExposureTime"
1242
+ ],
1243
+ "chunk_timestamp_event": "ExposureStart",
1244
+ "association_verified": false,
1245
+ "device_id": "42022669",
1246
+ "requested_image_settings": {
1247
+ "exposure_time_us": 10000,
1248
+ "exposure_auto": "Off",
1249
+ "gain": null,
1250
+ "gain_auto": "Continuous",
1251
+ "pixel_format": null
1252
+ },
1253
+ "actual_camera_settings": {
1254
+ "ExposureTime": 10000.0,
1255
+ "ExposureMode": "Timed",
1256
+ "ExposureAuto": "Off",
1257
+ "Gain": 24.000003323148814,
1258
+ "GainAuto": "Continuous",
1259
+ "PixelFormat": "BayerRG8",
1260
+ "Width": 1920,
1261
+ "Height": 1080,
1262
+ "TriggerSource": "Line1",
1263
+ "TriggerActivation": "RisingEdge",
1264
+ "TriggerMode": "On"
1265
+ },
1266
+ "unavailable_camera_settings": [],
1267
+ "camera_settings_snapshot": "startup before grabbing; automatic gain may change subsequently",
1268
+ "fps_semantics": "MCU trigger cadence",
1269
+ "recorder_output_format": {
1270
+ "kind": "bayer_rggb",
1271
+ "dtype": "uint8",
1272
+ "bits": 8,
1273
+ "channels": 1,
1274
+ "av_format": "gray"
1275
+ },
1276
+ "counter_start_value": 0,
1277
+ "counter_start_status": "CounterActive",
1278
+ "counter_final_value": 44356,
1279
+ "counter_final_status": "CounterActive"
1280
+ }
1281
+ },
1282
+ "camera1": {
1283
+ "backend": "opencv",
1284
+ "acquisition_mode": "free_run",
1285
+ "device_id": null,
1286
+ "exposure_line": null,
1287
+ "feedback_input": null,
1288
+ "complete_metadata_frame_count": 0,
1289
+ "incomplete_metadata_frame_count": 0,
1290
+ "capture_progress": {
1291
+ "frame_count": 32933,
1292
+ "last_frame_index": 32932,
1293
+ "last_frame_host_return_time_ns": 11573274044628,
1294
+ "last_basler_frame_id": null,
1295
+ "last_basler_trigger_counter": null,
1296
+ "last_basler_exposure_start_ticks": null
1297
+ },
1298
+ "capture_failure": null,
1299
+ "resource_close_attempted": true,
1300
+ "cleanup_errors": [],
1301
+ "recording": {
1302
+ "codec": "mp4v",
1303
+ "container": "mp4",
1304
+ "extension": ".mp4",
1305
+ "lossless": false,
1306
+ "note": "Legacy OpenCV BGR8 path. Existing conversion/quality behavior; no native-pixel preservation claim.",
1307
+ "preset": "standard",
1308
+ "threads": null,
1309
+ "inactive_overrides": {
1310
+ "threads": 1
1311
+ },
1312
+ "qualification": "configuration only; target capture qualification required"
1313
+ },
1314
+ "recording_stages": {
1315
+ "time_basis": "host wall duration, not CPU or exposure time",
1316
+ "histogram_upper_bounds_ns": [
1317
+ 10000,
1318
+ 50000,
1319
+ 100000,
1320
+ 500000,
1321
+ 1000000,
1322
+ 5000000,
1323
+ 10000000,
1324
+ 20000000,
1325
+ 50000000,
1326
+ 100000000,
1327
+ 250000000,
1328
+ 500000000,
1329
+ 1000000000,
1330
+ 5000000000,
1331
+ null
1332
+ ],
1333
+ "stages": {
1334
+ "backend_read": {
1335
+ "count": 32933,
1336
+ "total_ns": 462750450598,
1337
+ "max_ns": 1188755254,
1338
+ "mean_ns": 14051269.261773905,
1339
+ "histogram": [
1340
+ 0,
1341
+ 0,
1342
+ 0,
1343
+ 0,
1344
+ 0,
1345
+ 0,
1346
+ 6848,
1347
+ 22331,
1348
+ 3746,
1349
+ 7,
1350
+ 0,
1351
+ 0,
1352
+ 0,
1353
+ 1,
1354
+ 0
1355
+ ]
1356
+ },
1357
+ "video_encode_write": {
1358
+ "count": 32933,
1359
+ "total_ns": 1010143543232,
1360
+ "max_ns": 120065974,
1361
+ "mean_ns": 30672685.246773753,
1362
+ "histogram": [
1363
+ 0,
1364
+ 0,
1365
+ 0,
1366
+ 0,
1367
+ 0,
1368
+ 0,
1369
+ 0,
1370
+ 1575,
1371
+ 30414,
1372
+ 940,
1373
+ 4,
1374
+ 0,
1375
+ 0,
1376
+ 0,
1377
+ 0
1378
+ ]
1379
+ },
1380
+ "host_delivery_interval": {
1381
+ "count": 32932,
1382
+ "total_ns": 1479168403644,
1383
+ "max_ns": 139780068,
1384
+ "mean_ns": 44915838.80857524,
1385
+ "histogram": [
1386
+ 0,
1387
+ 0,
1388
+ 0,
1389
+ 0,
1390
+ 0,
1391
+ 0,
1392
+ 0,
1393
+ 0,
1394
+ 24136,
1395
+ 8770,
1396
+ 26,
1397
+ 0,
1398
+ 0,
1399
+ 0,
1400
+ 0
1401
+ ]
1402
+ }
1403
+ }
1404
+ },
1405
+ "encoder_stages": null,
1406
+ "recording_queue": null,
1407
+ "writer_alive": false,
1408
+ "camera_readback": {
1409
+ "actual_width": 1280,
1410
+ "actual_height": 800,
1411
+ "actual_fps": 30.0,
1412
+ "actual_fourcc": 1196444237,
1413
+ "source": "decoded webcam MJPEG"
1414
+ },
1415
+ "basler": {}
1416
+ },
1417
+ "camera2": {
1418
+ "backend": "opencv",
1419
+ "acquisition_mode": "free_run",
1420
+ "device_id": null,
1421
+ "exposure_line": null,
1422
+ "feedback_input": null,
1423
+ "complete_metadata_frame_count": 0,
1424
+ "incomplete_metadata_frame_count": 0,
1425
+ "capture_progress": {
1426
+ "frame_count": 18983,
1427
+ "last_frame_index": 18982,
1428
+ "last_frame_host_return_time_ns": 11573289473413,
1429
+ "last_basler_frame_id": null,
1430
+ "last_basler_trigger_counter": null,
1431
+ "last_basler_exposure_start_ticks": null
1432
+ },
1433
+ "capture_failure": null,
1434
+ "resource_close_attempted": true,
1435
+ "cleanup_errors": [],
1436
+ "recording": {
1437
+ "codec": "mp4v",
1438
+ "container": "mp4",
1439
+ "extension": ".mp4",
1440
+ "lossless": false,
1441
+ "note": "Legacy OpenCV BGR8 path. Existing conversion/quality behavior; no native-pixel preservation claim.",
1442
+ "preset": "standard",
1443
+ "threads": null,
1444
+ "inactive_overrides": {
1445
+ "threads": 1
1446
+ },
1447
+ "qualification": "configuration only; target capture qualification required"
1448
+ },
1449
+ "recording_stages": {
1450
+ "time_basis": "host wall duration, not CPU or exposure time",
1451
+ "histogram_upper_bounds_ns": [
1452
+ 10000,
1453
+ 50000,
1454
+ 100000,
1455
+ 500000,
1456
+ 1000000,
1457
+ 5000000,
1458
+ 10000000,
1459
+ 20000000,
1460
+ 50000000,
1461
+ 100000000,
1462
+ 250000000,
1463
+ 500000000,
1464
+ 1000000000,
1465
+ 5000000000,
1466
+ null
1467
+ ],
1468
+ "stages": {
1469
+ "backend_read": {
1470
+ "count": 18983,
1471
+ "total_ns": 463889591559,
1472
+ "max_ns": 659694945,
1473
+ "mean_ns": 24437106.440446716,
1474
+ "histogram": [
1475
+ 0,
1476
+ 0,
1477
+ 0,
1478
+ 0,
1479
+ 0,
1480
+ 76,
1481
+ 377,
1482
+ 4913,
1483
+ 13499,
1484
+ 117,
1485
+ 0,
1486
+ 0,
1487
+ 1,
1488
+ 0,
1489
+ 0
1490
+ ]
1491
+ },
1492
+ "video_encode_write": {
1493
+ "count": 18983,
1494
+ "total_ns": 1012165230845,
1495
+ "max_ns": 143296400,
1496
+ "mean_ns": 53319561.23083812,
1497
+ "histogram": [
1498
+ 0,
1499
+ 0,
1500
+ 0,
1501
+ 0,
1502
+ 0,
1503
+ 0,
1504
+ 0,
1505
+ 0,
1506
+ 8343,
1507
+ 10585,
1508
+ 55,
1509
+ 0,
1510
+ 0,
1511
+ 0,
1512
+ 0
1513
+ ]
1514
+ },
1515
+ "host_delivery_interval": {
1516
+ "count": 18982,
1517
+ "total_ns": 1479576004548,
1518
+ "max_ns": 172676537,
1519
+ "mean_ns": 77946265.12211569,
1520
+ "histogram": [
1521
+ 0,
1522
+ 0,
1523
+ 0,
1524
+ 0,
1525
+ 0,
1526
+ 0,
1527
+ 0,
1528
+ 0,
1529
+ 209,
1530
+ 17170,
1531
+ 1603,
1532
+ 0,
1533
+ 0,
1534
+ 0,
1535
+ 0
1536
+ ]
1537
+ }
1538
+ }
1539
+ },
1540
+ "encoder_stages": null,
1541
+ "recording_queue": null,
1542
+ "writer_alive": false,
1543
+ "camera_readback": {
1544
+ "actual_width": 1920,
1545
+ "actual_height": 1080,
1546
+ "actual_fps": 30.0,
1547
+ "actual_fourcc": 1196444237,
1548
+ "source": "decoded webcam MJPEG"
1549
+ },
1550
+ "basler": {}
1551
+ }
1552
+ },
1553
+ "camera_alerts": {},
1554
+ "camera_capture_degraded": false,
1555
+ "imu_capture_degraded": true,
1556
+ "serial_capture_degraded": false,
1557
+ "imu_control": {
1558
+ "initial": {
1559
+ "requested_enabled": false,
1560
+ "state": "disabled",
1561
+ "control_version": 2,
1562
+ "query_status": 16,
1563
+ "confirmed": true
1564
+ },
1565
+ "startup": {
1566
+ "requested_enabled": true,
1567
+ "state": "fault",
1568
+ "control_version": 2,
1569
+ "query_status": 19,
1570
+ "confirmed": true
1571
+ },
1572
+ "shutdown": {
1573
+ "requested_enabled": false,
1574
+ "state": "disabled",
1575
+ "control_version": 2,
1576
+ "query_status": 16,
1577
+ "confirmed": true
1578
+ }
1579
+ },
1580
+ "serial_warmup_valid_packets": 200,
1581
+ "serial_warmup_auxiliary_records_discarded": 0,
1582
+ "serial_warmup_rejected_auxiliary_records": 1,
1583
+ "serial_warmup_rejected_packets": 1,
1584
+ "serial_warmup_bytes_read": 15474,
1585
+ "serial_warmup_bytes_resync_discarded": 106,
1586
+ "startup_control_sensor_packets_discarded": 1025,
1587
+ "enc1_zero_raw": -287,
1588
+ "enc2_zero_raw": 0,
1589
+ "imu_acquisition_health": {
1590
+ "stream_observed": true,
1591
+ "current_epoch": 2,
1592
+ "configured_status_observed": false,
1593
+ "configuration_matches": false,
1594
+ "startup_evidence_ready": false,
1595
+ "capture_degraded": true,
1596
+ "incident": {
1597
+ "revision": 3,
1598
+ "state": "initialization",
1599
+ "error": "IMU initialization failed; other available streams are retained",
1600
+ "observed_host_time_ns": 10093793203279,
1601
+ "imu_epoch": 2
1602
+ },
1603
+ "last_fifo_host_time_ns": null,
1604
+ "last_interrupt_host_time_ns": null,
1605
+ "last_clock_host_time_ns": null,
1606
+ "sample_time_mapping": "not_performed",
1607
+ "physical_timing_verified": false
1608
+ },
1609
+ "serial_reception": {
1610
+ "bytes_received": 102831600,
1611
+ "bytes_delivered": 102831600,
1612
+ "bytes_discarded": 0,
1613
+ "overflow_reads": 0,
1614
+ "buffer_high_water_bytes": 3381,
1615
+ "driver_high_water_bytes": 2768,
1616
+ "maximum_read_service_gap_ns": 41294179,
1617
+ "maximum_read_duration_ns": 41137644,
1618
+ "maximum_delivery_age_ns": 53780548,
1619
+ "intentional_discard_bytes": 0,
1620
+ "last_receive_host_time_ns": 11573284065882,
1621
+ "first_overflow_host_time_ns": null,
1622
+ "reader_error_host_time_ns": null,
1623
+ "capacity_bytes": 1048576,
1624
+ "chunk_capacity": 16384,
1625
+ "queued_chunks": 0,
1626
+ "queued_bytes": 0,
1627
+ "oldest_queued_age_ns": 0,
1628
+ "worker_alive": false,
1629
+ "reader_error": null,
1630
+ "read_time_semantics": "host serial read completion, not MCU acquisition time",
1631
+ "parser_partial_discard_bytes": 0,
1632
+ "trailing_partial_bytes": 0
1633
+ },
1634
+ "rejected_packets": 1,
1635
+ "rejected_timing_records": 0,
1636
+ "rejected_imu_records": 0,
1637
+ "telemetry_writer": {
1638
+ "mode": "bounded_single_writer",
1639
+ "capacity_queued_records": 8192,
1640
+ "queued_records": 0,
1641
+ "active_record": false,
1642
+ "accepted_records": 1525364,
1643
+ "written_records": 1525364,
1644
+ "unwritten_records": 0,
1645
+ "rejected_records": 0,
1646
+ "queue_overflowed": false,
1647
+ "queue_high_water_records": 80,
1648
+ "oldest_unwritten_age_ns": 0,
1649
+ "maximum_dequeue_age_ns": 80611234,
1650
+ "maximum_record_write_ns": 80530769,
1651
+ "writer_error": null,
1652
+ "failed_record_kind": null,
1653
+ "writer_alive": false,
1654
+ "close_complete": true,
1655
+ "close_timed_out": false,
1656
+ "durability": "normal buffered file I/O; no per-record fsync"
1657
+ },
1658
+ "imu_acquisition": {
1659
+ "stream_observed": true,
1660
+ "record_count": 1481,
1661
+ "first_record_seq": 19,
1662
+ "last_record_seq": 1499,
1663
+ "sequence_gaps": 0,
1664
+ "sequence_discontinuities": 0,
1665
+ "epoch_changes": 0,
1666
+ "loss_counter_regressions": 0,
1667
+ "firmware_lost_records_latest": 0,
1668
+ "firmware_lost_records_max_observed": 0,
1669
+ "payload_errors": 0,
1670
+ "fifo_words_observed": 0,
1671
+ "flagged_records": 1481,
1672
+ "fifo_overrun_records": 0,
1673
+ "event_counts": {
1674
+ "4": 1481
1675
+ },
1676
+ "files": [
1677
+ "mcu_imu.bin",
1678
+ "mcu_imu.csv"
1679
+ ],
1680
+ "sample_time_mapping": "not_performed",
1681
+ "physical_timing_verified": false
1682
+ },
1683
+ "timing_record_count": 44362,
1684
+ "timing_sequence_gaps": 1,
1685
+ "timing_discontinuities": 0,
1686
+ "total_packets": 1479521,
1687
+ "dropped_packets": 0,
1688
+ "reported_lost_samples": 0,
1689
+ "basler0_frame_count": 44352,
1690
+ "basler0_failed_frame_count": 1,
1691
+ "camera1_frame_count": 32933,
1692
+ "camera1_failed_frame_count": 0,
1693
+ "camera2_frame_count": 18983,
1694
+ "camera2_failed_frame_count": 0
1695
+ }
1696
+ }
Session3_11_13_26/session_info/monitor_status.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "optional_presentation": true,
4
+ "snapshots_submitted": 15587,
5
+ "snapshots_skipped": 5804,
6
+ "forced_display_shutdown": false,
7
+ "exitcode": 0,
8
+ "snapshot_collector_stopped": true,
9
+ "error": null,
10
+ "events": [],
11
+ "config": {
12
+ "enabled": true,
13
+ "refresh_fps": 30,
14
+ "width": 1280,
15
+ "height": 720,
16
+ "layout": "focus",
17
+ "cameras": [
18
+ "basler0",
19
+ "camera1",
20
+ "camera2"
21
+ ],
22
+ "show_plots": true,
23
+ "plot_window_s": 5.0,
24
+ "plot_sample_hz": 20.0,
25
+ "plot_channels": [
26
+ "enc1",
27
+ "force1",
28
+ "force2",
29
+ "force3",
30
+ "force4",
31
+ "force5",
32
+ "force6",
33
+ "force7",
34
+ "force8"
35
+ ],
36
+ "console_enabled": true,
37
+ "console_interval_ms": 200,
38
+ "console_channels": [
39
+ "enc1",
40
+ "force1",
41
+ "force2",
42
+ "force3",
43
+ "force4",
44
+ "force5",
45
+ "force6",
46
+ "force7",
47
+ "force8"
48
+ ],
49
+ "console_imu": false
50
+ },
51
+ "session_clock_origin_mcu_us": 44483000,
52
+ "session_clock_origin": "first retained sensor sample, from recorded MCU clock anchor",
53
+ "sample_time_semantics": "session elapsed uses MCU time; receipt age is a separate host diagnostic"
54
+ }
Session3_11_13_26/session_info/procedure.json ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "status": "complete",
4
+ "phase": "complete",
5
+ "start_sync": {
6
+ "command": 1,
7
+ "command_seq": 1,
8
+ "event_type": 1,
9
+ "event_seq": 3,
10
+ "start_t_us": 47185522,
11
+ "complete_t_us": 48235544,
12
+ "ack_host_parse_time_ns": 10096163457687,
13
+ "event_host_parse_time_ns": 10097811789230
14
+ },
15
+ "end_sync": {
16
+ "command": 2,
17
+ "command_seq": 2,
18
+ "event_type": 2,
19
+ "event_seq": 4,
20
+ "start_t_us": 1516556016,
21
+ "complete_t_us": 1517606048,
22
+ "ack_host_parse_time_ns": 11565536923899,
23
+ "event_host_parse_time_ns": 11567187203487
24
+ },
25
+ "error": null,
26
+ "acquisition_error": null,
27
+ "shutdown_error": null,
28
+ "stop_timeout_s": 43.0,
29
+ "recording_ready_observed_local": "2026-11-13T15:08:40-05:00",
30
+ "recording_ready_observed_utc": "2026-11-13T20:08:40+00:00",
31
+ "session_origin_mcu_us": 44483000,
32
+ "session_clock_basis": "first retained MCU sensor sample; hardware clock is not reset",
33
+ "camera_capture_degraded": false,
34
+ "camera_alerts": {},
35
+ "imu_capture_degraded": true,
36
+ "imu_alert": {
37
+ "revision": 3,
38
+ "state": "initialization",
39
+ "error": "IMU initialization failed; other available streams are retained",
40
+ "observed_host_time_ns": 10093793203279,
41
+ "imu_epoch": 2
42
+ },
43
+ "serial_capture_degraded": false,
44
+ "serial_alert": null,
45
+ "telemetry_capture_degraded": false,
46
+ "telemetry_writer": {
47
+ "mode": "bounded_single_writer",
48
+ "capacity_queued_records": 8192,
49
+ "queued_records": 0,
50
+ "active_record": false,
51
+ "accepted_records": 1525364,
52
+ "written_records": 1525364,
53
+ "unwritten_records": 0,
54
+ "rejected_records": 0,
55
+ "queue_overflowed": false,
56
+ "queue_high_water_records": 80,
57
+ "oldest_unwritten_age_ns": 0,
58
+ "maximum_dequeue_age_ns": 80611234,
59
+ "maximum_record_write_ns": 80530769,
60
+ "writer_error": null,
61
+ "failed_record_kind": null,
62
+ "writer_alive": false,
63
+ "close_complete": true,
64
+ "close_timed_out": false,
65
+ "durability": "normal buffered file I/O; no per-record fsync"
66
+ },
67
+ "console_alert_error": null,
68
+ "updated_utc": "2026-11-13T20:33:20.127892+00:00"
69
+ }