+23
−1
+115
−14
+22.3 KiB
(140 KiB)
Loading
The user pushed back on whether bl4b-Galil2 changed anything. Going deeper: yes, in two important ways. 1) Galil2 is actively running (command log updated 09:02 today, 322 MB total) and writes to a SEPARATE command log (/home/controls/var/log/bl4b-Galil2.log), not the shared file I incorrectly described in tasking/CLAUDE.md last commit. Fixed. 2) BL4B has TWO parallel virtual angular motors driving heavy arms via linear stages: tthd (Galil1, detector arm via p_d) and thi (Galil2, incident arm via p_i). They were originally implemented with the same general design, but Matthew Pearson rewrote the thi side in January 2026 (RedMine #4822, virtual_thi_to_pi.template) to remove the retry runaway. tthd was left in the 2018-era virtual_pdLift.template. The thi rewrite has no NewPD1, no MaxTries, no second-motor-RBV dependency in the formula — just a one-shot law-of-cosines calc that commits to the physical motor and lets the motor record's own RTRY mechanism handle convergence. Report changes: - Executive summary fix #1 reframed: "retire virtual_pdLift.template" instead of "make NewPD1 distinguish stall from miscalibration", with pointer to the existing thi rewrite. - New "Two parallel virtual-motor stacks" subsection in System Architecture comparing the two templates side-by-side. - Recommended Fix 1 split into 1a (minimal patch — same as before, as stopgap) and 1b (full rewrite modeled on virtual_thi_to_pi.template). 1b includes concrete steps and a note that bl4b-VMotCalc already has a tthdFake harness instance for safe pre-deployment testing. - "Files referenced" expanded to include both Galil1 and Galil2 template paths and command logs. - Dead-ends adds the lesson: when investigating template-driven behavior, grep for sibling template instantiations before designing from scratch — the pattern may already be in the tree. tasking/CLAUDE.md: - Correct the shared-command-log error from prior commit. - Add "Two parallel virtual-motor stacks" subsection to the cross-IOC quirks block, pointing future tthd-investigators at thi as the reference design. PDF regenerated. Co-Authored-By:Claude Opus 4.6 (1M context) <noreply@anthropic.com>
File changed.
No diff preview for this file type.