Your trim ask from the review of PR #1: "Use the trajectory signals (arm
joints static, jaw at rest, no tactile load) to find the dead time before
each recording actually starts and after it ends, then trim it from every
modality in one click ... with timestamps and frame_index re-based so the
episode still loads. Show the proposed cut points on the timeline first so
the reviewer can adjust them. The source dataset is never modified ... the
trimmed and annotated output is written to a separate dataset repo."
The second commit on PR #3, after the batch.
- src/lib/trimDetect.ts: the cut rule — start 0.43 s before the commanded
joints first move faster than 0.5 deg/frame for 8 frames, end 0.53 s
after the measured joints last move faster than 0.5 deg/frame for 2
frames. That is what the curated sotac's own cuts are, read off
sotac_raw: the rule reproduces the 100 script-cut episodes' starts
within 3 frames in 83 % (6 frames in 97 %) and their ends within 3
frames in 92 %. Jaw…