Upload 16 files
Browse files2026-11-23 — Session 7
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 with an incomplete sensor stack. Two camera channels use temporary hardware pending upgrade*.
Location: UNF Optical Communications Lab
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.
Files changed (17)
- .gitattributes+1
- 11_23_26_Session7/recordings/basler0.raw.recording.jsonAdded+96
- 11_23_26_Session7/recordings/basler0_frames.csvAdded
- 11_23_26_Session7/recordings/camera1.mkv.recording.jsonAdded+96
- 11_23_26_Session7/recordings/camera1_frames.csvAdded
- 11_23_26_Session7/recordings/camera2.mkv.recording.jsonAdded+96
- 11_23_26_Session7/recordings/camera2_frames.csvAdded
- 11_23_26_Session7/sensor_data/mcu_imu.binAdded+3
- 11_23_26_Session7/sensor_data/mcu_imu.csvAdded
- 11_23_26_Session7/sensor_data/mcu_raw.binAdded+3
- 11_23_26_Session7/sensor_data/mcu_samples.csvAdded+3
- 11_23_26_Session7/sensor_data/mcu_timing.binAdded+3
- 11_23_26_Session7/sensor_data/mcu_timing.csvAdded
- 11_23_26_Session7/session_info/events.csvAdded+60
- 11_23_26_Session7/session_info/metadata.jsonAdded+2105
- 11_23_26_Session7/session_info/monitor_status.jsonAdded+47
- 11_23_26_Session7/session_info/procedure.jsonAdded+69
80 unmodified lines8182838480 unmodified lines11_23_26_Session6/sensor_data/mcu_samples.csv filter=lfs diff=lfs merge=lfs -text11_23_26_Session6/recordings/camera1.mkv filter=lfs diff=lfs merge=lfs -text11_23_26_Session6/recordings/camera2.mkv filter=lfs diff=lfs merge=lfs -text11_23_26_Session7/sensor_data/mcu_samples.csv filter=lfs diff=lfs merge=lfs -text123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596{ "schema_version": 1, "codec": null, "container": "rawvideo", "extension": ".raw", "lossless": true, "note": "Ordinary uncompressed, tightly packed frames plus layout JSON and frame CSV. High storage load; decoded webcams are not sensor raw.", "preset": "raw", "inactive_overrides": { "threads": 1 }, "qualification": "configuration only; target capture qualification required", "source_layout": { "kind": "bayer_rggb", "dtype": "uint8", "bits": 8, "channels": 1, "av_format": "gray" }, "width": 1920, "height": 1080, "fps": 30.0, "frames": 27540, "finalized": true, "media_time_basis": "nominal frame ordinal divided by configured FPS; use frame CSV for acquisition timing", "encoded_pixel_format": "gray", "frame_bytes": 2073600, "writer_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "raw_write": { "count": 27540, "total_ns": 37486124677, "max_ns": 120456719, "mean_ns": 1361151.9490559187, "histogram": [ 0, 0, 0, 0, 2983, 24472, 59, 7, 8, 9, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 176556, "max_ns": 176556, "mean_ns": 176556.0, "histogram": [ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596{ "schema_version": 1, "codec": "mjpeg", "container": "matroska", "extension": ".mkv", "lossless": false, "packet_copy": true, "note": "Copies the camera's original JPEG packets. Image quality is set by the webcam.", "preset": "native_mjpeg", "inactive_overrides": { "threads": 1 }, "qualification": "configuration only; target capture qualification required", "source_layout": { "kind": "bgr", "dtype": "uint8", "bits": 8, "channels": 3, "av_format": "bgr24" }, "width": 1280, "height": 720, "fps": 30.0, "frames": 26890, "finalized": true, "media_time_basis": "V4L2 packet timestamp relative to the first retained packet", "source_layout_basis": "decoded BGR8 for replay; stored payload is the original JPEG", "writer_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "mux_write": { "count": 26890, "total_ns": 32418387637, "max_ns": 114128024, "mean_ns": 1205592.697545556, "histogram": [ 0, 0, 1, 35, 10593, 16169, 67, 9, 6, 8, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 8819495, "max_ns": 8819495, "mean_ns": 8819495.0, "histogram": [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596{ "schema_version": 1, "codec": "mjpeg", "container": "matroska", "extension": ".mkv", "lossless": false, "packet_copy": true, "note": "Copies the camera's original JPEG packets. Image quality is set by the webcam.", "preset": "native_mjpeg", "inactive_overrides": { "threads": 1 }, "qualification": "configuration only; target capture qualification required", "source_layout": { "kind": "bgr", "dtype": "uint8", "bits": 8, "channels": 3, "av_format": "bgr24" }, "width": 1280, "height": 720, "fps": 30.0, "frames": 16564, "finalized": true, "media_time_basis": "V4L2 packet timestamp relative to the first retained packet", "source_layout_basis": "decoded BGR8 for replay; stored payload is the original JPEG", "writer_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "mux_write": { "count": 16564, "total_ns": 10634884937, "max_ns": 107532052, "mean_ns": 642048.1125935764, "histogram": [ 0, 0, 0, 9118, 6231, 1180, 16, 5, 5, 7, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 5552509, "max_ns": 5552509, "mean_ns": 5552509.0, "histogram": [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }}123version https://git-lfs.github.com/spec/v1oid sha256:9f61f6f3dd371a56e8e5a19a35868f01aa8c2f5c7fe55d985b66b68ce6c5a73dsize 58944123version https://git-lfs.github.com/spec/v1oid sha256:7b954dc379c16eaa2b668f7f7a36be9c76cc137f4750891cccb5d4033af9fbaesize 62499208123version https://git-lfs.github.com/spec/v1oid sha256:d2aa0716966f04d320c6588f329b5b1dc7be10c53dca45b192355630acfc2a82size 138949328123version https://git-lfs.github.com/spec/v1oid sha256:29ba367b8082ebbc1b34afbaef33c70ec77b4a80ca044b7e109796ed0ad85d22size 1322448123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960timestamp_utc,state,event,message
2026-11-23T18:35:14.430509+00:00,INITIALIZING,STATE_CHANGE,IDLE -> INITIALIZING
2026-11-23T18:35:14.430544+00:00,INITIALIZING,SESSION_CREATED,Session folder created
2026-11-23T18:35:14.432338+00:00,INITIALIZING,SERIAL_OPEN_START,Opening /dev/ttyACM0 at 1500000 baud
2026-11-23T18:35:14.936014+00:00,INITIALIZING,SERIAL_OPENED,Serial port opened successfully
2026-11-23T18:35:14.936642+00:00,INITIALIZING,LOGGER_READY,Logger initialized
2026-11-23T18:35:14.940933+00:00,INITIALIZING,PACKET_REJECTED,Rejected packet count=1
2026-11-23T18:35:15.938094+00:00,INITIALIZING,CONTROL_RX,"{""command"": 18, ""command_seq"": 51680, ""crc"": 52829, ""host_parse_time_ns"": 14506290949447, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:35:15.939987+00:00,INITIALIZING,CONTROL_RX,"{""command"": 33, ""command_seq"": 15533, ""crc"": 48450, ""host_parse_time_ns"": 14506292883801, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:35:15.941963+00:00,INITIALIZING,CONTROL_RX,"{""command"": 34, ""command_seq"": 15534, ""crc"": 12462, ""host_parse_time_ns"": 14506294871286, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 16, ""sync"": 91, ""version"": 2}"
2026-11-23T18:35:15.942035+00:00,INITIALIZING,CAMERA_INIT_START,Initializing basler0
2026-11-23T18:35:15.942249+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,basler0 initialized but not recording
2026-11-23T18:35:15.942267+00:00,INITIALIZING,CAMERA_INIT_START,Initializing camera1
2026-11-23T18:35:15.942354+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,camera1 initialized but not recording
2026-11-23T18:35:15.942365+00:00,INITIALIZING,CAMERA_INIT_START,Initializing camera2
2026-11-23T18:35:15.942425+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,camera2 initialized but not recording
2026-11-23T18:35:15.942445+00:00,INITIALIZING,SERIAL_BUFFER_FLUSH,Initial serial input buffer flush after hardware initialization
2026-11-23T18:35:15.942457+00:00,READY,STATE_CHANGE,INITIALIZING -> READY
2026-11-23T18:35:15.942465+00:00,READY,SYSTEM_READY,All acquisition resources initialized
2026-11-23T18:35:15.942473+00:00,READY,USER_START_WAIT,Waiting for user confirmation before camera/serial warmup
2026-11-23T18:35:17.708955+00:00,READY,USER_START_CONFIRMED,User confirmed recording preparation
2026-11-23T18:35:17.709009+00:00,READY,CAMERA_PIPELINE_START,"Starting camera pipeline before serial warmup, host_time_ns=14508061937521"
2026-11-23T18:35:18.548218+00:00,READY,CAMERA_START,basler0 recording/pre-roll started
2026-11-23T18:35:19.473659+00:00,READY,CAMERA_START,camera1 recording/pre-roll started
2026-11-23T18:35:19.898317+00:00,READY,CAMERA_START,camera2 recording/pre-roll started
2026-11-23T18:35:19.898541+00:00,READY,CAMERA_SETTLE_START,Allowing camera pipeline to settle for 0.5 s
2026-11-23T18:35:20.400044+00:00,READY,CAMERA_SETTLE_COMPLETE,Camera pipeline settle complete
2026-11-23T18:35:20.400344+00:00,READY,SERIAL_BUFFER_FLUSH,Serial input buffer flushed after camera start/settle
2026-11-23T18:35:20.400385+00:00,READY,SERIAL_WARMUP_START,Discarding startup packets before ML-valid logging while camera pipeline is active
2026-11-23T18:35:20.604143+00:00,READY,SERIAL_WARMUP_COMPLETE,"Serial warmup complete, valid_packets=200, rejected_packets=1, bytes_read=15639, bytes_resync_discarded=71"
2026-11-23T18:35:20.604212+00:00,READY,SERIAL_BUFFER_FLUSH,"Serial input buffer flushed after camera-active warmup, immediately before valid logging"
2026-11-23T18:35:20.605566+00:00,READY,MCU_HOST_CLOCK_MAPPER_ANCHOR_SET,"method=first_logged_packet_parse_time_anchor, anchor_t_us=12192641000, anchor_seq=2945, anchor_host_time_ns=14510958479446, scale_ns_per_us=1000.0"
2026-11-23T18:35:20.605619+00:00,READY,ENCODER_ZERO_SET,"Session encoder zero set: enc1_zero_raw=-163, enc2_zero_raw=0"
2026-11-23T18:35:20.606412+00:00,READY,CONTROL_RX,"{""command"": 32, ""command_seq"": 37290, ""crc"": 13862, ""host_parse_time_ns"": 14510959304929, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:35:20.608507+00:00,READY,CONTROL_RX,"{""command"": 34, ""command_seq"": 37291, ""crc"": 39980, ""host_parse_time_ns"": 14510961412691, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 17, ""sync"": 91, ""version"": 2}"
2026-11-23T18:35:20.612461+00:00,READY,IMU_WARNING,"{""error"": ""bus timed out (detail=0)"", ""imu_epoch"": 12, ""observed_host_time_ns"": 14510965124364, ""revision"": 2, ""state"": ""status_4""}"
2026-11-23T18:35:20.631310+00:00,READY,CONTROL_RX,"{""command"": 34, ""command_seq"": 37292, ""crc"": 27611, ""host_parse_time_ns"": 14510984202040, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 19, ""sync"": 91, ""version"": 2}"
2026-11-23T18:35:20.631413+00:00,READY,IMU_WARNING,"{""error"": ""IMU initialization failed; other available streams are retained"", ""imu_epoch"": 12, ""observed_host_time_ns"": 14510984311022, ""revision"": 3, ""state"": ""initialization""}"
2026-11-23T18:35:20.635934+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"": 2, ""histogram"": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0], ""max_ns"": 1000099811, ""mean_ns"": 1000089783.5, ""total_ns"": 2000179567}}, ""time_basis"": ""host wall duration, not CPU or exposure time""}, ""resource_close_attempted"": false, ""writer_alive"": true}"
2026-11-23T18:35:20.637304+00:00,READY,CONTROL_RX,"{""command"": 16, ""command_seq"": 12, ""crc"": 16015, ""host_parse_time_ns"": 14510990211586, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:35:20.689275+00:00,RECORDING,STATE_CHANGE,READY -> RECORDING
2026-11-23T18:35:20.691975+00:00,RECORDING,VALID_WINDOW_START,"ML-valid data window started, host_time_ns=14511042196127"
2026-11-23T18:35:20.692091+00:00,RECORDING,RECORDING_START,DAQ packet logging has started
2026-11-23T18:35:22.708611+00:00,RECORDING,CONTROL_RX,"{""command"": 1, ""command_seq"": 1, ""crc"": 9664, ""host_parse_time_ns"": 14513061445481, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:35:24.361756+00:00,RECORDING,CONTROL_RX,"{""command_seq"": 1, ""complete_t_us"": 12196094586, ""crc"": 22628, ""event_seq"": 23, ""event_type"": 1, ""host_parse_time_ns"": 14514714640528, ""kind"": ""sync_event"", ""length"": 28, ""message_type"": 2, ""start_t_us"": 12195044558, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:50:31.969280+00:00,RECORDING,CONTROL_RX,"{""command"": 2, ""command_seq"": 2, ""crc"": 60239, ""host_parse_time_ns"": 15422322169178, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:50:33.619057+00:00,RECORDING,CONTROL_RX,"{""command_seq"": 2, ""complete_t_us"": 13105340500, ""crc"": 56591, ""event_seq"": 24, ""event_type"": 2, ""host_parse_time_ns"": 15423971951172, ""kind"": ""sync_event"", ""length"": 28, ""message_type"": 2, ""start_t_us"": 13104290480, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:50:38.623254+00:00,RECORDING,STOP_REQUESTED,Clean DAQCore stop requested by caller
2026-11-23T18:50:38.623385+00:00,RECORDING,VALID_WINDOW_STOP,"ML-valid data window stopped, host_time_ns=15428976182111"
2026-11-23T18:50:38.625330+00:00,RECORDING,CONTROL_RX,"{""command"": 18, ""command_seq"": 47475, ""crc"": 64882, ""host_parse_time_ns"": 15428978226892, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:50:38.628251+00:00,RECORDING,CONTROL_RX,"{""command"": 17, ""command_seq"": 13, ""crc"": 31498, ""host_parse_time_ns"": 15428981162323, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:50:39.722388+00:00,RECORDING,CONTROL_RX,"{""command"": 33, ""command_seq"": 31632, ""crc"": 63144, ""host_parse_time_ns"": 15430075276730, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 0, ""sync"": 91, ""version"": 2}"
2026-11-23T18:50:39.724385+00:00,RECORDING,CONTROL_RX,"{""command"": 34, ""command_seq"": 31633, ""crc"": 7462, ""host_parse_time_ns"": 15430077281363, ""kind"": ""ack"", ""length"": 10, ""message_type"": 1, ""status"": 16, ""sync"": 91, ""version"": 2}"
2026-11-23T18:50:39.725712+00:00,RECORDING,CAMERA_STOP,basler0 stop completed
2026-11-23T18:50:39.988749+00:00,RECORDING,CAMERA_STOP,camera1 stop completed
2026-11-23T18:50:40.092558+00:00,RECORDING,CAMERA_STOP,camera2 stop completed
2026-11-23T18:50:40.093213+00:00,RECORDING,SERIAL_CLOSED,Serial port closed
2026-11-23T18:50:40.093243+00:00,STOPPING,STATE_CHANGE,RECORDING -> STOPPING
2026-11-23T18:50:40.093258+00:00,SAVED,STATE_CHANGE,STOPPING -> SAVED
2026-11-23T18:50:40.093270+00:00,SAVED,SESSION_COMPLETE,Session finalized12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105{ "session_manager_version": 1, "session_id": "2026-11-23_18-35-14_430158", "state": "SAVED", "start_time_utc": "2026-11-23T18:35:14.430158+00:00", "end_time_utc": "2026-11-23T18:50:40.093256+00:00", "duration_seconds": 925.663098, "metadata": { "mcu_protocol_version": 4, "mcu_packet_size_bytes": 68, "mcu_sync_byte": 165, "mcu_sample_rate_hz": 1000, "mcu_fields": [ "t_us", "enc1", "enc2", "force1", "force2", "force3", "force4", "force5", "force6", "force7", "force8", "ax", "ay", "az", "gx", "gy", "gz", "cam_trigger_seq", "cam_trigger_t_us", "seq", "flags", "lost_samples" ], "serial_port": "/dev/ttyACM0", "baud_rate": 1500000, "cameras": { "0": { "name": "camera0", "enabled": false, "backend": "picamera2", "index": 0, "device_id": null, "acquisition_mode": "free_run", "fps": 30, "width": 1280, "height": 720, "role": "primary_view", "video_file": "camera0.mp4", "frames_file": "camera0_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "standard", "allow_advanced": false, "overrides": { "threads": 1 } } }, "1": { "name": "basler0", "enabled": true, "backend": "basler", "index": 0, "device_id": "42022669", "acquisition_mode": "hardware_trigger", "fps": 30, "width": 1920, "height": 1080, "role": "external_view", "video_file": "basler0.raw", "frames_file": "basler0_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": 10000, "exposure_auto": "Off", "gain": null, "gain_auto": "Continuous", "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "raw", "allow_advanced": false, "overrides": { "threads": 1 } } }, "2": { "name": "basler1", "enabled": false, "backend": "basler", "index": 0, "device_id": "REPLACE_ACE2_MONO_SERIAL", "acquisition_mode": "free_run", "fps": 20, "width": 1280, "height": 720, "role": "mono_view", "video_file": "basler1.mkv", "frames_file": "basler1_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "lossless", "allow_advanced": false, "overrides": { "threads": 1 } } }, "3": { "name": "basler2", "enabled": false, "backend": "basler", "index": 0, "device_id": "REPLACE_DART_MONO_SERIAL", "acquisition_mode": "free_run", "fps": 20, "width": 1280, "height": 720, "role": "mono_aux_view", "video_file": "basler2.mp4", "frames_file": "basler2_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "standard", "allow_advanced": false, "overrides": { "threads": 1 } } }, "4": { "name": "camera1", "enabled": true, "backend": "opencv", "index": 0, "device_id": null, "acquisition_mode": "free_run", "fps": 30, "width": 1280, "height": 720, "role": "aux_view_0", "video_file": "camera1.mkv", "frames_file": "camera1_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "native_mjpeg", "allow_advanced": false, "overrides": { "threads": 1 } } }, "5": { "name": "camera2", "enabled": true, "backend": "opencv", "index": 2, "device_id": null, "acquisition_mode": "free_run", "fps": 30, "width": 1280, "height": 720, "role": "aux_view_1", "video_file": "camera2.mkv", "frames_file": "camera2_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "native_mjpeg", "allow_advanced": false, "overrides": { "threads": 1 } } } }, "active_cameras": [ "basler0", "camera1", "camera2" ], "mcu_raw_file": "mcu_raw.bin", "mcu_samples_file": "mcu_samples.csv", "effective_configuration": { "session_root": "/var/lib/gpdas/sessions", "serial_port": "/dev/ttyACM0", "csv_logging_enabled": true, "require_start_confirmation": true, "require_imu": false, "imu_enabled": true, "cameras": [ { "name": "camera0", "enabled": false, "backend": "picamera2", "index": 0, "device_id": null, "acquisition_mode": "free_run", "fps": 30, "width": 1280, "height": 720, "role": "primary_view", "video_file": "camera0.mp4", "frames_file": "camera0_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "standard", "allow_advanced": false, "overrides": { "threads": 1 } } }, { "name": "basler0", "enabled": true, "backend": "basler", "index": 0, "device_id": "42022669", "acquisition_mode": "hardware_trigger", "fps": 30, "width": 1920, "height": 1080, "role": "external_view", "video_file": "basler0.raw", "frames_file": "basler0_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": 10000, "exposure_auto": "Off", "gain": null, "gain_auto": "Continuous", "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "raw", "allow_advanced": false, "overrides": { "threads": 1 } } }, { "name": "basler1", "enabled": false, "backend": "basler", "index": 0, "device_id": "REPLACE_ACE2_MONO_SERIAL", "acquisition_mode": "free_run", "fps": 20, "width": 1280, "height": 720, "role": "mono_view", "video_file": "basler1.mkv", "frames_file": "basler1_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "lossless", "allow_advanced": false, "overrides": { "threads": 1 } } }, { "name": "basler2", "enabled": false, "backend": "basler", "index": 0, "device_id": "REPLACE_DART_MONO_SERIAL", "acquisition_mode": "free_run", "fps": 20, "width": 1280, "height": 720, "role": "mono_aux_view", "video_file": "basler2.mp4", "frames_file": "basler2_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "standard", "allow_advanced": false, "overrides": { "threads": 1 } } }, { "name": "camera1", "enabled": true, "backend": "opencv", "index": 0, "device_id": null, "acquisition_mode": "free_run", "fps": 30, "width": 1280, "height": 720, "role": "aux_view_0", "video_file": "camera1.mkv", "frames_file": "camera1_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "native_mjpeg", "allow_advanced": false, "overrides": { "threads": 1 } } }, { "name": "camera2", "enabled": true, "backend": "opencv", "index": 2, "device_id": null, "acquisition_mode": "free_run", "fps": 30, "width": 1280, "height": 720, "role": "aux_view_1", "video_file": "camera2.mkv", "frames_file": "camera2_frames.csv", "exposure_line": null, "feedback_input": null, "exposure_time_us": null, "exposure_auto": null, "gain": null, "gain_auto": null, "pixel_format": null, "trigger_line": "Line1", "trigger_edge": "RisingEdge", "recording": { "preset": "native_mjpeg", "allow_advanced": false, "overrides": { "threads": 1 } } } ], "schema_version": 1 }, "daqcore_version": "0.5.5", "project": "GPDAS", "trial_id": "", "trial_type": "bench_test", "operator_id": "", "phantom_configuration": "", "test_condition": "", "notes": "", "gpdas_storage_policy": {}, "gpdas_imu_interpretation": { "schema_version": 1, "sensor_id": "", "profile": null, "profile_sha256": null, "sensor_to_handle": null, "sensor_identity": "operator_declared", "mounting_identity": "unconfigured", "profile_file_sha256": null }, "gpdas_channel_registry": { "schema_version": 1, "channels": [ { "name": "wheel_encoder_1", "enabled": true, "measurement": "angular_position", "source": "mcu_packet", "raw_unit": "count", "source_field": "enc1", "group": "control_wheels", "group_index": 1, "reference": "session_zeroed" }, { "name": "wheel_encoder_2", "enabled": true, "measurement": "angular_position", "source": "mcu_packet", "raw_unit": "count", "source_field": "enc2", "group": "control_wheels", "group_index": 2, "reference": "session_zeroed" }, { "name": "radial_force_01", "enabled": true, "measurement": "radial_contact_force", "source": "mcu_packet", "raw_unit": "adc_count", "source_field": "force1", "group": "radial_force_array", "group_index": 1 }, { "name": "radial_force_02", "enabled": true, "measurement": "radial_contact_force", "source": "mcu_packet", "raw_unit": "adc_count", "source_field": "force2", "group": "radial_force_array", "group_index": 2 }, { "name": "radial_force_03", "enabled": false, "measurement": "radial_contact_force", "source": "mcu_packet", "raw_unit": "adc_count", "source_field": "force3", "group": "radial_force_array", "group_index": 3, "disabled_reason": "sensor not commissioned" }, { "name": "radial_force_04", "enabled": false, "measurement": "radial_contact_force", "source": "mcu_packet", "raw_unit": "adc_count", "source_field": "force4", "group": "radial_force_array", "group_index": 4, "disabled_reason": "sensor not commissioned" }, { "name": "radial_force_05", "enabled": false, "measurement": "radial_contact_force", "source": "mcu_packet", "raw_unit": "adc_count", "source_field": "force5", "group": "radial_force_array", "group_index": 5, "disabled_reason": "sensor not commissioned" }, { "name": "radial_force_06", "enabled": false, "measurement": "radial_contact_force", "source": "mcu_packet", "raw_unit": "adc_count", "source_field": "force6", "group": "radial_force_array", "group_index": 6, "disabled_reason": "sensor not commissioned" }, { "name": "radial_force_07", "enabled": false, "measurement": "radial_contact_force", "source": "mcu_packet", "raw_unit": "adc_count", "source_field": "force7", "group": "radial_force_array", "group_index": 7, "disabled_reason": "sensor not commissioned" }, { "name": "radial_force_08", "enabled": false, "measurement": "radial_contact_force", "source": "mcu_packet", "raw_unit": "adc_count", "source_field": "force8", "group": "radial_force_array", "group_index": 8, "disabled_reason": "sensor not commissioned" }, { "name": "imu_acceleration_x", "enabled": false, "measurement": "linear_acceleration", "source": "mcu_packet", "raw_unit": "count", "source_field": "ax", "group": "imu_acceleration", "group_index": 1, "disabled_reason": "imu not installed" }, { "name": "imu_acceleration_y", "enabled": false, "measurement": "linear_acceleration", "source": "mcu_packet", "raw_unit": "count", "source_field": "ay", "group": "imu_acceleration", "group_index": 2, "disabled_reason": "imu not installed" }, { "name": "imu_acceleration_z", "enabled": false, "measurement": "linear_acceleration", "source": "mcu_packet", "raw_unit": "count", "source_field": "az", "group": "imu_acceleration", "group_index": 3, "disabled_reason": "imu not installed" }, { "name": "imu_angular_velocity_x", "enabled": false, "measurement": "angular_velocity", "source": "mcu_packet", "raw_unit": "count", "source_field": "gx", "group": "imu_angular_velocity", "group_index": 1, "disabled_reason": "imu not installed" }, { "name": "imu_angular_velocity_y", "enabled": false, "measurement": "angular_velocity", "source": "mcu_packet", "raw_unit": "count", "source_field": "gy", "group": "imu_angular_velocity", "group_index": 2, "disabled_reason": "imu not installed" }, { "name": "imu_angular_velocity_z", "enabled": false, "measurement": "angular_velocity", "source": "mcu_packet", "raw_unit": "count", "source_field": "gz", "group": "imu_angular_velocity", "group_index": 3, "disabled_reason": "imu not installed" }, { "name": "insertion_depth", "enabled": false, "measurement": "linear_position", "source": "vision_pipeline", "raw_unit": "pixel", "group": "insertion", "group_index": 1, "disabled_reason": "vision pipeline not integrated" } ] }, "gpdas_calibration_profiles": { "profiles": [ { "schema_version": 1, "profile_id": "control_wheels_v1", "channels": [ { "channel": "wheel_encoder_1", "status": "unconfigured", "model": "rotary_encoder", "input_unit": "count", "output_unit": "degree", "zero_reference": "session_zeroed" }, { "channel": "wheel_encoder_2", "status": "unconfigured", "model": "rotary_encoder", "input_unit": "count", "output_unit": "degree", "zero_reference": "session_zeroed" } ] }, { "schema_version": 1, "profile_id": "radial_force_array_v1", "channels": [ { "channel": "radial_force_01", "status": "unconfigured", "model": "linear", "input_unit": "adc_count", "output_unit": "newton" }, { "channel": "radial_force_02", "status": "unconfigured", "model": "linear", "input_unit": "adc_count", "output_unit": "newton" }, { "channel": "radial_force_03", "status": "unconfigured", "model": "linear", "input_unit": "adc_count", "output_unit": "newton" }, { "channel": "radial_force_04", "status": "unconfigured", "model": "linear", "input_unit": "adc_count", "output_unit": "newton" }, { "channel": "radial_force_05", "status": "unconfigured", "model": "linear", "input_unit": "adc_count", "output_unit": "newton" }, { "channel": "radial_force_06", "status": "unconfigured", "model": "linear", "input_unit": "adc_count", "output_unit": "newton" }, { "channel": "radial_force_07", "status": "unconfigured", "model": "linear", "input_unit": "adc_count", "output_unit": "newton" }, { "channel": "radial_force_08", "status": "unconfigured", "model": "linear", "input_unit": "adc_count", "output_unit": "newton" } ] } ] }, "gpdas_preview": { "enabled": true, "refresh_fps": 5, "width": 1280, "height": 720, "layout": "focus", "cameras": [ "basler0", "camera1", "camera2" ], "show_plots": true, "plot_window_s": 5.0, "plot_sample_hz": 20.0, "plot_channels": [ "enc1", "force1", "force2", "force3", "force4", "force5", "force6", "force7", "force8" ], "console_enabled": true, "console_interval_ms": 200, "console_channels": [ "enc1", "force1" ], "console_imu": false }, "gpdas_storage": { "session_root": "/var/lib/gpdas/sessions", "guard": {}, "guard_status": "not_configured", "mount": "/", "source": "/dev/nvme0n1p2", "filesystem": "ext4", "free_bytes": 148759375872 }, "serial_warmup_target_packets": 200, "serial_warmup_timeout_s": 5.0, "csv_logging_enabled": true, "logger_flush_interval_packets": 100, "camera_settle_s": 0.5, "valid_start_host_time_ns": 14511042196127, "valid_stop_host_time_ns": 15428976182111, "camera_pipeline_start_host_time_ns": 14508061937521, "sensor_alignment_time_source": "mcu_est_host_time_ns", "mcu_host_clock_mapper": { "method": "first_logged_packet_parse_time_anchor", "anchor_t_us": 12192641000, "anchor_seq": 2945, "anchor_host_time_ns": 14510958479446, "scale_ns_per_us": 1000.0, "fit_event_count": 1, "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." }, "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.", "trigger_lifecycle": { "managed": true, "initial_status": { "kind": "timing", "version": 1, "event_type": 5, "record_seq": 155673, "epoch": 11, "source": 0, "identity": 51680, "t_us": 12186974153, "value": 4295688192, "lost_total": 0, "flags": 17, "crc": 32628 }, "start": { "kind": "timing", "version": 1, "event_type": 1, "record_seq": 155679, "epoch": 12, "source": 0, "identity": 12, "t_us": 12192673549, "value": 155541, "lost_total": 0, "flags": 17, "crc": 39083 }, "shutdown_status": { "kind": "timing", "version": 1, "event_type": 5, "record_seq": 183220, "epoch": 12, "source": 0, "identity": 47475, "t_us": 13110646631, "value": 4295753729, "lost_total": 0, "flags": 17, "crc": 49525 }, "stop": { "kind": "timing", "version": 1, "event_type": 4, "record_seq": 183222, "epoch": 12, "source": 0, "identity": 13, "t_us": 13110673572, "value": 183080, "lost_total": 0, "flags": 17, "crc": 12089 }, "camera_drain_skipped": {}, "camera_drain_complete": { "basler0": true } }, "camera_acquisition": { "basler0": { "backend": "basler", "acquisition_mode": "hardware_trigger", "device_id": "42022669", "exposure_line": null, "feedback_input": null, "complete_metadata_frame_count": 27540, "incomplete_metadata_frame_count": 0, "capture_progress": { "frame_count": 27540, "last_frame_index": 27539, "last_frame_host_return_time_ns": 15429021039661, "last_basler_frame_id": 174319, "last_basler_trigger_counter": 27542, "last_basler_exposure_start_ticks": 13194317211220 }, "capture_failure": null, "resource_close_attempted": true, "cleanup_errors": [], "recording": { "codec": null, "container": "rawvideo", "extension": ".raw", "lossless": true, "note": "Ordinary uncompressed, tightly packed frames plus layout JSON and frame CSV. High storage load; decoded webcams are not sensor raw.", "preset": "raw", "inactive_overrides": { "threads": 1 }, "qualification": "configuration only; target capture qualification required", "source_layout": { "kind": "bayer_rggb", "dtype": "uint8", "bits": 8, "channels": 1, "av_format": "gray" }, "width": 1920, "height": 1080, "fps": 30.0, "frames": 27540, "finalized": true, "media_time_basis": "nominal frame ordinal divided by configured FPS; use frame CSV for acquisition timing", "encoded_pixel_format": "gray", "frame_bytes": 2073600, "writer_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "raw_write": { "count": 27540, "total_ns": 37486124677, "max_ns": 120456719, "mean_ns": 1361151.9490559187, "histogram": [ 0, 0, 0, 0, 2983, 24472, 59, 7, 8, 9, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 176556, "max_ns": 176556, "mean_ns": 176556.0, "histogram": [ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } } } }, "recording_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "backend_read": { "count": 27543, "total_ns": 919514907485, "max_ns": 1000199820, "mean_ns": 33384704.18926769, "histogram": [ 0, 0, 0, 0, 0, 1, 6, 36, 27475, 21, 1, 0, 0, 3, 0 ] }, "retrieve": { "count": 27540, "total_ns": 869058957204, "max_ns": 135068499, "mean_ns": 31556243.907189544, "histogram": [ 0, 0, 0, 2, 1, 1, 3, 53, 27479, 0, 1, 0, 0, 0, 0 ] }, "conversion_copy": { "count": 27540, "total_ns": 33821236946, "max_ns": 13553687, "mean_ns": 1228076.868046478, "histogram": [ 0, 0, 0, 0, 10156, 17253, 127, 4, 0, 0, 0, 0, 0, 0, 0 ] }, "video_encode_write": { "count": 27540, "total_ns": 38869588426, "max_ns": 120493867, "mean_ns": 1411386.6530864197, "histogram": [ 0, 0, 0, 0, 1204, 26247, 63, 7, 8, 9, 2, 0, 0, 0, 0 ] }, "sidecar_write": { "count": 27540, "total_ns": 883406221, "max_ns": 620389, "mean_ns": 32077.20482933914, "histogram": [ 0, 25861, 1549, 128, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, "host_delivery_interval": { "count": 27539, "total_ns": 917980646685, "max_ns": 69782345, "mean_ns": 33333840.977704346, "histogram": [ 0, 0, 0, 0, 0, 1, 6, 36, 27475, 21, 0, 0, 0, 0, 0 ] }, "sidecar_flush": { "count": 918, "total_ns": 100983151, "max_ns": 6917251, "mean_ns": 110003.43246187364, "histogram": [ 0, 481, 199, 220, 13, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }, "encoder_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "raw_write": { "count": 27540, "total_ns": 37486124677, "max_ns": 120456719, "mean_ns": 1361151.9490559187, "histogram": [ 0, 0, 0, 0, 2983, 24472, 59, 7, 8, 9, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 176556, "max_ns": 176556, "mean_ns": 176556.0, "histogram": [ 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }, "recording_queue": { "capacity_bytes": 67108864, "pending_bytes": 0, "peak_bytes": 6220800, "pending_frames": 0, "accepted_frames": 27540, "dequeued_frames": 27540, "oldest_pending_age_ns": 0, "maximum_observed_queue_age_ns": 87721354, "closed": true, "error": null, "rejected_frames": 0 }, "writer_alive": false, "camera_readback": null, "basler": { "line_selector": "Line1", "line_mode": "Input", "line_inverter": false, "counter_selector": "Counter1", "counter_event_source": "Line1", "counter_event_activation": "RisingEdge", "counter_trigger_source": "SoftwareSignal1", "counter_reset_source": "Off", "counter_duration": 4294967295, "chunks": [ "FrameID", "CounterValue", "Timestamp", "ExposureTime" ], "chunk_timestamp_event": "ExposureStart", "association_verified": false, "device_id": "42022669", "requested_image_settings": { "exposure_time_us": 10000, "exposure_auto": "Off", "gain": null, "gain_auto": "Continuous", "pixel_format": null }, "actual_camera_settings": { "ExposureTime": 10000.0, "ExposureMode": "Timed", "ExposureAuto": "Off", "Gain": 24.000003323148814, "GainAuto": "Continuous", "PixelFormat": "BayerRG8", "Width": 1920, "Height": 1080, "TriggerSource": "Line1", "TriggerActivation": "RisingEdge", "TriggerMode": "On" }, "unavailable_camera_settings": [], "camera_settings_snapshot": "startup before grabbing; automatic gain may change subsequently", "fps_semantics": "MCU trigger cadence", "recorder_output_format": { "kind": "bayer_rggb", "dtype": "uint8", "bits": 8, "channels": 1, "av_format": "gray" }, "counter_start_value": 0, "counter_start_status": "CounterActive", "counter_final_value": 27542, "counter_final_status": "CounterActive" } }, "camera1": { "backend": "opencv", "acquisition_mode": "free_run", "device_id": null, "exposure_line": null, "feedback_input": null, "complete_metadata_frame_count": 0, "incomplete_metadata_frame_count": 0, "capture_progress": { "frame_count": 26890, "last_frame_index": 26889, "last_frame_host_return_time_ns": 15430095082853, "last_basler_frame_id": null, "last_basler_trigger_counter": null, "last_basler_exposure_start_ticks": null }, "capture_failure": null, "resource_close_attempted": true, "cleanup_errors": [], "recording": { "codec": "mjpeg", "container": "matroska", "extension": ".mkv", "lossless": false, "packet_copy": true, "note": "Copies the camera's original JPEG packets. Image quality is set by the webcam.", "preset": "native_mjpeg", "inactive_overrides": { "threads": 1 }, "qualification": "configuration only; target capture qualification required", "source_layout": { "kind": "bgr", "dtype": "uint8", "bits": 8, "channels": 3, "av_format": "bgr24" }, "width": 1280, "height": 720, "fps": 30.0, "frames": 26890, "finalized": true, "media_time_basis": "V4L2 packet timestamp relative to the first retained packet", "source_layout_basis": "decoded BGR8 for replay; stored payload is the original JPEG", "writer_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "mux_write": { "count": 26890, "total_ns": 32418387637, "max_ns": 114128024, "mean_ns": 1205592.697545556, "histogram": [ 0, 0, 1, 35, 10593, 16169, 67, 9, 6, 8, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 8819495, "max_ns": 8819495, "mean_ns": 8819495.0, "histogram": [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ] } } } }, "recording_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "backend_read": { "count": 26890, "total_ns": 918784666078, "max_ns": 200058467, "mean_ns": 34168265.752249904, "histogram": [ 0, 0, 0, 1, 0, 0, 0, 1, 26571, 276, 41, 0, 0, 0, 0 ] }, "video_encode_write": { "count": 26890, "total_ns": 33621618496, "max_ns": 115655804, "mean_ns": 1250339.103607289, "histogram": [ 0, 0, 0, 26, 9286, 17454, 97, 11, 6, 8, 2, 0, 0, 0, 0 ] }, "sidecar_write": { "count": 26890, "total_ns": 664223105, "max_ns": 4477970, "mean_ns": 24701.491446634438, "histogram": [ 0, 25466, 1311, 111, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, "host_delivery_interval": { "count": 26889, "total_ns": 920268171285, "max_ns": 200139616, "mean_ns": 34224707.92089702, "histogram": [ 0, 0, 0, 0, 0, 0, 0, 0, 26572, 264, 53, 0, 0, 0, 0 ] }, "sidecar_flush": { "count": 896, "total_ns": 144159769, "max_ns": 25870984, "mean_ns": 160892.59933035713, "histogram": [ 0, 449, 159, 254, 22, 8, 2, 1, 1, 0, 0, 0, 0, 0, 0 ] } } }, "encoder_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "mux_write": { "count": 26890, "total_ns": 32418387637, "max_ns": 114128024, "mean_ns": 1205592.697545556, "histogram": [ 0, 0, 1, 35, 10593, 16169, 67, 9, 6, 8, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 8819495, "max_ns": 8819495, "mean_ns": 8819495.0, "histogram": [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }, "recording_queue": { "capacity_bytes": 67108864, "pending_bytes": 0, "peak_bytes": 1193760, "pending_frames": 0, "accepted_frames": 26890, "dequeued_frames": 26890, "oldest_pending_age_ns": 0, "maximum_observed_queue_age_ns": 80783417, "closed": true, "error": null, "rejected_frames": 0 }, "writer_alive": false, "camera_readback": { "actual_width": 1280, "actual_height": 720, "actual_fps": 30.0, "codec": "mjpeg", "source": "camera-native V4L2 MJPEG packets", "timestamp_source": "V4L2 packet timestamps" }, "basler": {} }, "camera2": { "backend": "opencv", "acquisition_mode": "free_run", "device_id": null, "exposure_line": null, "feedback_input": null, "complete_metadata_frame_count": 0, "incomplete_metadata_frame_count": 0, "capture_progress": { "frame_count": 16564, "last_frame_index": 16563, "last_frame_host_return_time_ns": 15430346287032, "last_basler_frame_id": null, "last_basler_trigger_counter": null, "last_basler_exposure_start_ticks": null }, "capture_failure": null, "resource_close_attempted": true, "cleanup_errors": [], "recording": { "codec": "mjpeg", "container": "matroska", "extension": ".mkv", "lossless": false, "packet_copy": true, "note": "Copies the camera's original JPEG packets. Image quality is set by the webcam.", "preset": "native_mjpeg", "inactive_overrides": { "threads": 1 }, "qualification": "configuration only; target capture qualification required", "source_layout": { "kind": "bgr", "dtype": "uint8", "bits": 8, "channels": 3, "av_format": "bgr24" }, "width": 1280, "height": 720, "fps": 30.0, "frames": 16564, "finalized": true, "media_time_basis": "V4L2 packet timestamp relative to the first retained packet", "source_layout_basis": "decoded BGR8 for replay; stored payload is the original JPEG", "writer_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "mux_write": { "count": 16564, "total_ns": 10634884937, "max_ns": 107532052, "mean_ns": 642048.1125935764, "histogram": [ 0, 0, 0, 9118, 6231, 1180, 16, 5, 5, 7, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 5552509, "max_ns": 5552509, "mean_ns": 5552509.0, "histogram": [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ] } } } }, "recording_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "backend_read": { "count": 16564, "total_ns": 919232513851, "max_ns": 76783672, "mean_ns": 55495804.98979715, "histogram": [ 0, 0, 0, 1, 0, 0, 0, 0, 7364, 9199, 0, 0, 0, 0, 0 ] }, "video_encode_write": { "count": 16564, "total_ns": 11197614576, "max_ns": 107640738, "mean_ns": 676021.1649360058, "histogram": [ 0, 0, 0, 6919, 8193, 1414, 19, 5, 5, 7, 2, 0, 0, 0, 0 ] }, "sidecar_write": { "count": 16564, "total_ns": 382394132, "max_ns": 2615023, "mean_ns": 23085.85679787491, "histogram": [ 3, 15713, 719, 126, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] }, "host_delivery_interval": { "count": 16563, "total_ns": 920094922940, "max_ns": 76820191, "mean_ns": 55551223.98961541, "histogram": [ 0, 0, 0, 0, 0, 0, 0, 0, 7364, 9199, 0, 0, 0, 0, 0 ] }, "sidecar_flush": { "count": 552, "total_ns": 61957191, "max_ns": 4419506, "mean_ns": 112241.28804347826, "histogram": [ 0, 330, 96, 109, 11, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }, "encoder_stages": { "time_basis": "host wall duration, not CPU or exposure time", "histogram_upper_bounds_ns": [ 10000, 50000, 100000, 500000, 1000000, 5000000, 10000000, 20000000, 50000000, 100000000, 250000000, 500000000, 1000000000, 5000000000, null ], "stages": { "mux_write": { "count": 16564, "total_ns": 10634884937, "max_ns": 107532052, "mean_ns": 642048.1125935764, "histogram": [ 0, 0, 0, 9118, 6231, 1180, 16, 5, 5, 7, 2, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 5552509, "max_ns": 5552509, "mean_ns": 5552509.0, "histogram": [ 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }, "recording_queue": { "capacity_bytes": 67108864, "pending_bytes": 0, "peak_bytes": 354080, "pending_frames": 0, "accepted_frames": 16564, "dequeued_frames": 16564, "oldest_pending_age_ns": 0, "maximum_observed_queue_age_ns": 64144616, "closed": true, "error": null, "rejected_frames": 0 }, "writer_alive": false, "camera_readback": { "actual_width": 1280, "actual_height": 720, "actual_fps": 30.0, "codec": "mjpeg", "source": "camera-native V4L2 MJPEG packets", "timestamp_source": "V4L2 packet timestamps" }, "basler": {} } }, "camera_alerts": {}, "camera_capture_degraded": false, "imu_capture_degraded": true, "serial_capture_degraded": false, "imu_control": { "initial": { "requested_enabled": false, "state": "disabled", "control_version": 2, "query_status": 16, "confirmed": true }, "startup": { "requested_enabled": true, "state": "fault", "control_version": 2, "query_status": 19, "confirmed": true }, "shutdown": { "requested_enabled": false, "state": "disabled", "control_version": 2, "query_status": 16, "confirmed": true } }, "serial_warmup_valid_packets": 200, "serial_warmup_auxiliary_records_discarded": 0, "serial_warmup_rejected_auxiliary_records": 2, "serial_warmup_rejected_packets": 1, "serial_warmup_bytes_read": 15639, "serial_warmup_bytes_resync_discarded": 71, "startup_control_sensor_packets_discarded": 1029, "enc1_zero_raw": -163, "enc2_zero_raw": 0, "imu_acquisition_health": { "stream_observed": true, "current_epoch": 12, "configured_status_observed": false, "configuration_matches": false, "startup_evidence_ready": false, "capture_degraded": true, "incident": { "revision": 3, "state": "initialization", "error": "IMU initialization failed; other available streams are retained", "observed_host_time_ns": 14510984311022, "imu_epoch": 12 }, "last_fifo_host_time_ns": null, "last_interrupt_host_time_ns": null, "last_clock_host_time_ns": null, "sample_time_mapping": "not_performed", "physical_timing_verified": false }, "serial_reception": { "bytes_received": 63880564, "bytes_delivered": 63880564, "bytes_discarded": 0, "overflow_reads": 0, "buffer_high_water_bytes": 1408, "driver_high_water_bytes": 1088, "maximum_read_service_gap_ns": 17077100, "maximum_read_duration_ns": 16113987, "maximum_delivery_age_ns": 15956005, "intentional_discard_bytes": 0, "last_receive_host_time_ns": 15430078171716, "first_overflow_host_time_ns": null, "reader_error_host_time_ns": null, "capacity_bytes": 1048576, "chunk_capacity": 16384, "queued_chunks": 0, "queued_bytes": 0, "oldest_queued_age_ns": 0, "worker_alive": false, "reader_error": null, "read_time_semantics": "host serial read completion, not MCU acquisition time", "parser_partial_discard_bytes": 0, "trailing_partial_bytes": 0 }, "rejected_packets": 1, "rejected_timing_records": 0, "rejected_imu_records": 1, "telemetry_writer": { "mode": "bounded_single_writer", "capacity_queued_records": 8192, "queued_records": 0, "active_record": false, "accepted_records": 947578, "written_records": 947578, "unwritten_records": 0, "rejected_records": 0, "queue_overflowed": false, "queue_high_water_records": 128, "oldest_unwritten_age_ns": 0, "maximum_dequeue_age_ns": 124752319, "maximum_record_write_ns": 124830042, "writer_error": null, "failed_record_kind": null, "writer_alive": false, "close_complete": true, "close_timed_out": false, "durability": "normal buffered file I/O; no per-record fsync" }, "imu_acquisition": { "stream_observed": true, "record_count": 921, "first_record_seq": 5211, "last_record_seq": 6131, "sequence_gaps": 0, "sequence_discontinuities": 0, "epoch_changes": 0, "loss_counter_regressions": 0, "firmware_lost_records_latest": 0, "firmware_lost_records_max_observed": 0, "payload_errors": 0, "fifo_words_observed": 0, "flagged_records": 921, "fifo_overrun_records": 0, "event_counts": { "4": 921 }, "files": [ "mcu_imu.bin", "mcu_imu.csv" ], "sample_time_mapping": "not_performed", "physical_timing_verified": false }, "timing_record_count": 27551, "timing_sequence_gaps": 0, "timing_discontinuities": 0, "total_packets": 919106, "dropped_packets": 0, "reported_lost_samples": 0, "basler0_frame_count": 27540, "basler0_failed_frame_count": 2, "camera1_frame_count": 26890, "camera1_failed_frame_count": 0, "camera2_frame_count": 16564, "camera2_failed_frame_count": 0 }}1234567891011121314151617181920212223242526272829303132333435363738394041424344454647{ "schema_version": 1, "optional_presentation": true, "snapshots_submitted": 17718, "snapshots_skipped": 25, "forced_display_shutdown": false, "exitcode": 0, "snapshot_collector_stopped": true, "error": null, "events": [], "config": { "enabled": true, "refresh_fps": 5, "width": 1280, "height": 720, "layout": "focus", "cameras": [ "basler0", "camera1", "camera2" ], "show_plots": true, "plot_window_s": 5.0, "plot_sample_hz": 20.0, "plot_channels": [ "enc1", "force1", "force2", "force3", "force4", "force5", "force6", "force7", "force8" ], "console_enabled": true, "console_interval_ms": 200, "console_channels": [ "enc1", "force1" ], "console_imu": false }, "session_clock_origin_mcu_us": 12192641000, "session_clock_origin": "first retained sensor sample, from recorded MCU clock anchor", "sample_time_semantics": "session elapsed uses MCU time; receipt age is a separate host diagnostic"}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869{ "schema_version": 1, "status": "complete", "phase": "complete", "start_sync": { "command": 1, "command_seq": 1, "event_type": 1, "event_seq": 23, "start_t_us": 12195044558, "complete_t_us": 12196094586, "ack_host_parse_time_ns": 14513061445481, "event_host_parse_time_ns": 14514714640528 }, "end_sync": { "command": 2, "command_seq": 2, "event_type": 2, "event_seq": 24, "start_t_us": 13104290480, "complete_t_us": 13105340500, "ack_host_parse_time_ns": 15422322169178, "event_host_parse_time_ns": 15423971951172 }, "error": null, "acquisition_error": null, "shutdown_error": null, "stop_timeout_s": 47.0, "recording_ready_observed_local": "2026-11-23T13:35:20-05:00", "recording_ready_observed_utc": "2026-11-23T18:35:20+00:00", "session_origin_mcu_us": 12192641000, "session_clock_basis": "first retained MCU sensor sample; hardware clock is not reset", "camera_capture_degraded": false, "camera_alerts": {}, "imu_capture_degraded": true, "imu_alert": { "revision": 3, "state": "initialization", "error": "IMU initialization failed; other available streams are retained", "observed_host_time_ns": 14510984311022, "imu_epoch": 12 }, "serial_capture_degraded": false, "serial_alert": null, "telemetry_capture_degraded": false, "telemetry_writer": { "mode": "bounded_single_writer", "capacity_queued_records": 8192, "queued_records": 0, "active_record": false, "accepted_records": 947578, "written_records": 947578, "unwritten_records": 0, "rejected_records": 0, "queue_overflowed": false, "queue_high_water_records": 128, "oldest_unwritten_age_ns": 0, "maximum_dequeue_age_ns": 124752319, "maximum_record_write_ns": 124830042, "writer_error": null, "failed_record_kind": null, "writer_alive": false, "close_complete": true, "close_timed_out": false, "durability": "normal buffered file I/O; no per-record fsync" }, "console_alert_error": null, "updated_utc": "2026-11-23T18:50:40.098808+00:00"}