Upload 17 files
Browse files2026-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.
Files changed (18)
- .gitattributes+1
- Session3_11_13_26/recordings/S2_INTRALUMINAL.mp4Added+3
- Session3_11_13_26/recordings/basler0.raw.recording.jsonAdded+96
- Session3_11_13_26/recordings/basler0_frames.csvAdded
- Session3_11_13_26/recordings/camera1.mp4Added+3
- Session3_11_13_26/recordings/camera1_frames.csvAdded
- Session3_11_13_26/recordings/camera2.mp4Added+3
- Session3_11_13_26/recordings/camera2_frames.csvAdded
- Session3_11_13_26/sensor_data/mcu_imu.binAdded+3
- Session3_11_13_26/sensor_data/mcu_imu.csvAdded
- Session3_11_13_26/sensor_data/mcu_raw.binAdded+3
- Session3_11_13_26/sensor_data/mcu_samples.csvAdded+3
- Session3_11_13_26/sensor_data/mcu_timing.binAdded+3
- Session3_11_13_26/sensor_data/mcu_timing.csvAdded
- Session3_11_13_26/session_info/events.csvAdded+60
- Session3_11_13_26/session_info/metadata.jsonAdded+1696
- Session3_11_13_26/session_info/monitor_status.jsonAdded+54
- Session3_11_13_26/session_info/procedure.jsonAdded+69
58 unmodified lines5960616258 unmodified lines*.mp4 filter=lfs diff=lfs merge=lfs -text*.webm filter=lfs diff=lfs merge=lfs -textSession1_11_13_26/sensor_data/mcu_samples.csv filter=lfs diff=lfs merge=lfs -textSession3_11_13_26/sensor_data/mcu_samples.csv filter=lfs diff=lfs merge=lfs -text123version https://git-lfs.github.com/spec/v1oid sha256:3873031cb86fb7160fe4627087db85c2812fd20c1fb440ce8aef1ffaaf996305size 1162156861123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596{ "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": 44352, "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": 44352, "total_ns": 161777699782, "max_ns": 72768375, "mean_ns": 3647585.2223575036, "histogram": [ 0, 0, 0, 0, 92, 34713, 7257, 2080, 203, 7, 0, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 631495, "max_ns": 631495, "mean_ns": 631495.0, "histogram": [ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }}123version https://git-lfs.github.com/spec/v1oid sha256:fa815afb1fae96b4f008f28c153b9cd3e42ba4bfde47fbbe2b8da7cf07bf9a81size 2662886068123version https://git-lfs.github.com/spec/v1oid sha256:49299ba52ee0b2da67f54760e3e7afaba73fe91177a8620d84f9352464f3445esize 1676829052123version https://git-lfs.github.com/spec/v1oid sha256:c2fbf2c25b0dd79e24d232c8fac2dd894c0f17f00e1f0fb8049e6f4f18f0fc6fsize 94784123version https://git-lfs.github.com/spec/v1oid sha256:6e1c1d9ad78d8cd93d63a739ab193a6179956eb3c42d89f194efbb0bc388a530size 100607428123version https://git-lfs.github.com/spec/v1oid sha256:3e3973e7f18e3f103368ff018a7e295e21808eaaf9ba31d862a5bf79c0227720size 217263302123version https://git-lfs.github.com/spec/v1oid sha256:fe178470818ea2c99527ee6a7749c60c427fb8dd55c6c2da5d0b31712f027816size 2129376123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960timestamp_utc,state,event,message
2026-11-13T20:08:33.506551+00:00,INITIALIZING,STATE_CHANGE,IDLE -> INITIALIZING
2026-11-13T20:08:33.506585+00:00,INITIALIZING,SESSION_CREATED,Session folder created
2026-11-13T20:08:33.508595+00:00,INITIALIZING,SERIAL_OPEN_START,Opening /dev/ttyACM0 at 1500000 baud
2026-11-13T20:08:34.013253+00:00,INITIALIZING,SERIAL_OPENED,Serial port opened successfully
2026-11-13T20:08:34.013845+00:00,INITIALIZING,LOGGER_READY,Logger initialized
2026-11-13T20:08:34.017049+00:00,INITIALIZING,PACKET_REJECTED,Rejected packet count=1
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}"
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}"
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}"
2026-11-13T20:08:35.019089+00:00,INITIALIZING,CAMERA_INIT_START,Initializing basler0
2026-11-13T20:08:35.019262+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,basler0 initialized but not recording
2026-11-13T20:08:35.019276+00:00,INITIALIZING,CAMERA_INIT_START,Initializing camera1
2026-11-13T20:08:35.019348+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,camera1 initialized but not recording
2026-11-13T20:08:35.019359+00:00,INITIALIZING,CAMERA_INIT_START,Initializing camera2
2026-11-13T20:08:35.019418+00:00,INITIALIZING,CAMERA_INIT_COMPLETE,camera2 initialized but not recording
2026-11-13T20:08:35.019436+00:00,INITIALIZING,SERIAL_BUFFER_FLUSH,Initial serial input buffer flush after hardware initialization
2026-11-13T20:08:35.019448+00:00,READY,STATE_CHANGE,INITIALIZING -> READY
2026-11-13T20:08:35.019455+00:00,READY,SYSTEM_READY,All acquisition resources initialized
2026-11-13T20:08:35.019463+00:00,READY,USER_START_WAIT,Waiting for user confirmation before camera/serial warmup
2026-11-13T20:08:38.444833+00:00,READY,USER_START_CONFIRMED,User confirmed recording preparation
2026-11-13T20:08:38.444894+00:00,READY,CAMERA_PIPELINE_START,"Starting camera pipeline before serial warmup, host_time_ns=10091880702761"
2026-11-13T20:08:39.279834+00:00,READY,CAMERA_START,basler0 recording/pre-roll started
2026-11-13T20:08:39.481123+00:00,READY,CAMERA_START,camera1 recording/pre-roll started
2026-11-13T20:08:39.617993+00:00,READY,CAMERA_START,camera2 recording/pre-roll started
2026-11-13T20:08:39.618042+00:00,READY,CAMERA_SETTLE_START,Allowing camera pipeline to settle for 0.5 s
2026-11-13T20:08:40.119877+00:00,READY,CAMERA_SETTLE_COMPLETE,Camera pipeline settle complete
2026-11-13T20:08:40.119990+00:00,READY,SERIAL_BUFFER_FLUSH,Serial input buffer flushed after camera start/settle
2026-11-13T20:08:40.120002+00:00,READY,SERIAL_WARMUP_START,Discarding startup packets before ML-valid logging while camera pipeline is active
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"
2026-11-13T20:08:40.322382+00:00,READY,SERIAL_BUFFER_FLUSH,"Serial input buffer flushed after camera-active warmup, immediately before valid logging"
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"
2026-11-13T20:08:40.328400+00:00,READY,ENCODER_ZERO_SET,"Session encoder zero set: enc1_zero_raw=-287, enc2_zero_raw=0"
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}"
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}"
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""}"
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}"
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""}"
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}"
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}"
2026-11-13T20:08:40.689477+00:00,RECORDING,STATE_CHANGE,READY -> RECORDING
2026-11-13T20:08:40.695474+00:00,RECORDING,VALID_WINDOW_START,"ML-valid data window started, host_time_ns=10094125271457"
2026-11-13T20:08:40.695763+00:00,RECORDING,RECORDING_START,DAQ packet logging has started
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}"
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}"
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}"
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}"
2026-11-13T20:33:18.762426+00:00,RECORDING,STOP_REQUESTED,Clean DAQCore stop requested by caller
2026-11-13T20:33:18.762508+00:00,RECORDING,VALID_WINDOW_STOP,"ML-valid data window stopped, host_time_ns=11572198234292"
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}"
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}"
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}"
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}"
2026-11-13T20:33:19.848775+00:00,RECORDING,CAMERA_STOP,basler0 stop completed
2026-11-13T20:33:19.874442+00:00,RECORDING,CAMERA_STOP,camera1 stop completed
2026-11-13T20:33:20.123453+00:00,RECORDING,CAMERA_STOP,camera2 stop completed
2026-11-13T20:33:20.124255+00:00,RECORDING,SERIAL_CLOSED,Serial port closed
2026-11-13T20:33:20.124284+00:00,STOPPING,STATE_CHANGE,RECORDING -> STOPPING
2026-11-13T20:33:20.124294+00:00,SAVED,STATE_CHANGE,STOPPING -> SAVED
2026-11-13T20:33:20.124303+00:00,SAVED,SESSION_COMPLETE,Session finalized1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696{ "session_manager_version": 1, "session_id": "2026-11-13_20-08-33_506132", "state": "SAVED", "start_time_utc": "2026-11-13T20:08:33.506132+00:00", "end_time_utc": "2026-11-13T20:33:20.124293+00:00", "duration_seconds": 1486.618161, "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.mkv", "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": "lossless", "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": 800, "role": "aux_view_0", "video_file": "camera1.mp4", "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": "standard", "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": 1920, "height": 1080, "role": "aux_view_1", "video_file": "camera2.mp4", "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": "standard", "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.mkv", "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": "lossless", "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": 800, "role": "aux_view_0", "video_file": "camera1.mp4", "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": "standard", "allow_advanced": false, "overrides": { "threads": 1 } } }, { "name": "camera2", "enabled": true, "backend": "opencv", "index": 2, "device_id": null, "acquisition_mode": "free_run", "fps": 30, "width": 1920, "height": 1080, "role": "aux_view_1", "video_file": "camera2.mp4", "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": "standard", "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": 30, "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", "force2", "force3", "force4", "force5", "force6", "force7", "force8" ], "console_imu": false }, "gpdas_storage": { "session_root": "/var/lib/gpdas/sessions", "guard": {}, "guard_status": "not_configured", "mount": "/", "source": "/dev/nvme0n1p2", "filesystem": "ext4", "free_bytes": 156506480640 }, "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": 10094125271457, "valid_stop_host_time_ns": 11572198234292, "camera_pipeline_start_host_time_ns": 10091880702761, "sensor_alignment_time_source": "mcu_est_host_time_ns", "mcu_host_clock_mapper": { "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, "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": 492, "epoch": 1, "source": 0, "identity": 50203, "t_us": 38174930, "value": 4295032832, "lost_total": 0, "flags": 17, "crc": 3849 }, "start": { "kind": "timing", "version": 1, "event_type": 1, "record_seq": 498, "epoch": 2, "source": 0, "identity": 2, "t_us": 44525607, "value": 479, "lost_total": 0, "flags": 17, "crc": 38259 }, "shutdown_status": { "kind": "timing", "version": 1, "event_type": 5, "record_seq": 44851, "epoch": 2, "source": 0, "identity": 53717, "t_us": 1522920567, "value": 4295098369, "lost_total": 0, "flags": 17, "crc": 46449 }, "stop": { "kind": "timing", "version": 1, "event_type": 4, "record_seq": 44853, "epoch": 2, "source": 0, "identity": 3, "t_us": 1522925630, "value": 44830, "lost_total": 0, "flags": 17, "crc": 7196 }, "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": 44352, "incomplete_metadata_frame_count": 0, "capture_progress": { "frame_count": 44352, "last_frame_index": 44351, "last_frame_host_return_time_ns": 11572225993590, "last_basler_frame_id": 81683, "last_basler_trigger_counter": 44356, "last_basler_exposure_start_ticks": 4420725209700 }, "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": 44352, "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": 44352, "total_ns": 161777699782, "max_ns": 72768375, "mean_ns": 3647585.2223575036, "histogram": [ 0, 0, 0, 0, 92, 34713, 7257, 2080, 203, 7, 0, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 631495, "max_ns": 631495, "mean_ns": 631495.0, "histogram": [ 0, 0, 0, 0, 1, 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": 44354, "total_ns": 1465282920483, "max_ns": 1000287243, "mean_ns": 33036094.162488163, "histogram": [ 0, 0, 0, 0, 0, 93, 320, 2710, 39946, 1282, 1, 0, 0, 2, 0 ] }, "retrieve": { "count": 44352, "total_ns": 1230362021573, "max_ns": 132495429, "mean_ns": 27740846.44600018, "histogram": [ 0, 0, 39, 85, 19, 157, 628, 5314, 37921, 188, 1, 0, 0, 0, 0 ] }, "conversion_copy": { "count": 44352, "total_ns": 151480193401, "max_ns": 36874376, "mean_ns": 3415408.400996573, "histogram": [ 0, 0, 0, 0, 217, 35210, 7192, 1650, 83, 0, 0, 0, 0, 0, 0 ] }, "video_encode_write": { "count": 44352, "total_ns": 166864612737, "max_ns": 72818355, "mean_ns": 3762279.3275838746, "histogram": [ 0, 0, 0, 0, 20, 34386, 7565, 2164, 210, 7, 0, 0, 0, 0, 0 ] }, "sidecar_write": { "count": 44352, "total_ns": 3055323953, "max_ns": 14316858, "mean_ns": 68888.07614087302, "histogram": [ 0, 26352, 16557, 1084, 89, 243, 23, 4, 0, 0, 0, 0, 0, 0, 0 ] }, "host_delivery_interval": { "count": 44351, "total_ns": 1478373162265, "max_ns": 88770655, "mean_ns": 33333479.792225655, "histogram": [ 0, 0, 0, 0, 0, 79, 298, 2521, 40105, 1348, 0, 0, 0, 0, 0 ] }, "sidecar_flush": { "count": 1478, "total_ns": 822114658, "max_ns": 25472140, "mean_ns": 556234.5453315291, "histogram": [ 0, 264, 551, 403, 81, 145, 30, 3, 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": { "raw_write": { "count": 44352, "total_ns": 161777699782, "max_ns": 72768375, "mean_ns": 3647585.2223575036, "histogram": [ 0, 0, 0, 0, 92, 34713, 7257, 2080, 203, 7, 0, 0, 0, 0, 0 ] }, "finalize": { "count": 1, "total_ns": 631495, "max_ns": 631495, "mean_ns": 631495.0, "histogram": [ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ] } } }, "recording_queue": { "capacity_bytes": 67108864, "pending_bytes": 0, "peak_bytes": 4147200, "pending_frames": 0, "accepted_frames": 44352, "dequeued_frames": 44352, "oldest_pending_age_ns": 0, "maximum_observed_queue_age_ns": 47211668, "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": 44356, "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": 32933, "last_frame_index": 32932, "last_frame_host_return_time_ns": 11573274044628, "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": "mp4v", "container": "mp4", "extension": ".mp4", "lossless": false, "note": "Legacy OpenCV BGR8 path. Existing conversion/quality behavior; no native-pixel preservation claim.", "preset": "standard", "threads": null, "inactive_overrides": { "threads": 1 }, "qualification": "configuration only; target capture qualification required" }, "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": 32933, "total_ns": 462750450598, "max_ns": 1188755254, "mean_ns": 14051269.261773905, "histogram": [ 0, 0, 0, 0, 0, 0, 6848, 22331, 3746, 7, 0, 0, 0, 1, 0 ] }, "video_encode_write": { "count": 32933, "total_ns": 1010143543232, "max_ns": 120065974, "mean_ns": 30672685.246773753, "histogram": [ 0, 0, 0, 0, 0, 0, 0, 1575, 30414, 940, 4, 0, 0, 0, 0 ] }, "host_delivery_interval": { "count": 32932, "total_ns": 1479168403644, "max_ns": 139780068, "mean_ns": 44915838.80857524, "histogram": [ 0, 0, 0, 0, 0, 0, 0, 0, 24136, 8770, 26, 0, 0, 0, 0 ] } } }, "encoder_stages": null, "recording_queue": null, "writer_alive": false, "camera_readback": { "actual_width": 1280, "actual_height": 800, "actual_fps": 30.0, "actual_fourcc": 1196444237, "source": "decoded webcam MJPEG" }, "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": 18983, "last_frame_index": 18982, "last_frame_host_return_time_ns": 11573289473413, "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": "mp4v", "container": "mp4", "extension": ".mp4", "lossless": false, "note": "Legacy OpenCV BGR8 path. Existing conversion/quality behavior; no native-pixel preservation claim.", "preset": "standard", "threads": null, "inactive_overrides": { "threads": 1 }, "qualification": "configuration only; target capture qualification required" }, "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": 18983, "total_ns": 463889591559, "max_ns": 659694945, "mean_ns": 24437106.440446716, "histogram": [ 0, 0, 0, 0, 0, 76, 377, 4913, 13499, 117, 0, 0, 1, 0, 0 ] }, "video_encode_write": { "count": 18983, "total_ns": 1012165230845, "max_ns": 143296400, "mean_ns": 53319561.23083812, "histogram": [ 0, 0, 0, 0, 0, 0, 0, 0, 8343, 10585, 55, 0, 0, 0, 0 ] }, "host_delivery_interval": { "count": 18982, "total_ns": 1479576004548, "max_ns": 172676537, "mean_ns": 77946265.12211569, "histogram": [ 0, 0, 0, 0, 0, 0, 0, 0, 209, 17170, 1603, 0, 0, 0, 0 ] } } }, "encoder_stages": null, "recording_queue": null, "writer_alive": false, "camera_readback": { "actual_width": 1920, "actual_height": 1080, "actual_fps": 30.0, "actual_fourcc": 1196444237, "source": "decoded webcam MJPEG" }, "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": 1, "serial_warmup_rejected_packets": 1, "serial_warmup_bytes_read": 15474, "serial_warmup_bytes_resync_discarded": 106, "startup_control_sensor_packets_discarded": 1025, "enc1_zero_raw": -287, "enc2_zero_raw": 0, "imu_acquisition_health": { "stream_observed": true, "current_epoch": 2, "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": 10093793203279, "imu_epoch": 2 }, "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": 102831600, "bytes_delivered": 102831600, "bytes_discarded": 0, "overflow_reads": 0, "buffer_high_water_bytes": 3381, "driver_high_water_bytes": 2768, "maximum_read_service_gap_ns": 41294179, "maximum_read_duration_ns": 41137644, "maximum_delivery_age_ns": 53780548, "intentional_discard_bytes": 0, "last_receive_host_time_ns": 11573284065882, "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": 0, "telemetry_writer": { "mode": "bounded_single_writer", "capacity_queued_records": 8192, "queued_records": 0, "active_record": false, "accepted_records": 1525364, "written_records": 1525364, "unwritten_records": 0, "rejected_records": 0, "queue_overflowed": false, "queue_high_water_records": 80, "oldest_unwritten_age_ns": 0, "maximum_dequeue_age_ns": 80611234, "maximum_record_write_ns": 80530769, "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": 1481, "first_record_seq": 19, "last_record_seq": 1499, "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": 1481, "fifo_overrun_records": 0, "event_counts": { "4": 1481 }, "files": [ "mcu_imu.bin", "mcu_imu.csv" ], "sample_time_mapping": "not_performed", "physical_timing_verified": false }, "timing_record_count": 44362, "timing_sequence_gaps": 1, "timing_discontinuities": 0, "total_packets": 1479521, "dropped_packets": 0, "reported_lost_samples": 0, "basler0_frame_count": 44352, "basler0_failed_frame_count": 1, "camera1_frame_count": 32933, "camera1_failed_frame_count": 0, "camera2_frame_count": 18983, "camera2_failed_frame_count": 0 }}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354{ "schema_version": 1, "optional_presentation": true, "snapshots_submitted": 15587, "snapshots_skipped": 5804, "forced_display_shutdown": false, "exitcode": 0, "snapshot_collector_stopped": true, "error": null, "events": [], "config": { "enabled": true, "refresh_fps": 30, "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", "force2", "force3", "force4", "force5", "force6", "force7", "force8" ], "console_imu": false }, "session_clock_origin_mcu_us": 44483000, "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": 3, "start_t_us": 47185522, "complete_t_us": 48235544, "ack_host_parse_time_ns": 10096163457687, "event_host_parse_time_ns": 10097811789230 }, "end_sync": { "command": 2, "command_seq": 2, "event_type": 2, "event_seq": 4, "start_t_us": 1516556016, "complete_t_us": 1517606048, "ack_host_parse_time_ns": 11565536923899, "event_host_parse_time_ns": 11567187203487 }, "error": null, "acquisition_error": null, "shutdown_error": null, "stop_timeout_s": 43.0, "recording_ready_observed_local": "2026-11-13T15:08:40-05:00", "recording_ready_observed_utc": "2026-11-13T20:08:40+00:00", "session_origin_mcu_us": 44483000, "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": 10093793203279, "imu_epoch": 2 }, "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": 1525364, "written_records": 1525364, "unwritten_records": 0, "rejected_records": 0, "queue_overflowed": false, "queue_high_water_records": 80, "oldest_unwritten_age_ns": 0, "maximum_dequeue_age_ns": 80611234, "maximum_record_write_ns": 80530769, "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-13T20:33:20.127892+00:00"}