fix(drill): consistent work-frame (G54) coords in fiducial centering#692
Conversation
|
Warning Review limit reached
More reviews will be available in 41 minutes and 25 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Исправляет #688 (эпик #656). Центровка по реперам смешивала фреймы work(G54)/machine(G53) и работала корректно только при WCO=0; в штатной работе (G54 в углу заготовки → WCO≠0) envelope зажимал не там (до отверстия не доехать) и сверловка уезжала на величину рабочего смещения (двойной WCO).
Корень:
machinePointдаёт датум-относительные = work(G54) координаты, ноidealтрактовался как абсолютный machine, а захват писал MPos (G53). Фикс приводит всё к единому work-фрейму:fiducial.rs);jogTo(ideal)напрямую (ideal уже work; убран ошибочныйmachineToWorkXY/-WCO);ideal+WCO(live WCO), т.к.useJogbounds машинные;machine_pointвыходу остаётся в G54;workZeroSetизuseDrillGates), сейчас был гейт только по homed;Юнит-тесты на WCO≠0 (WCO=(50,30), ideal=(10,20) → центр (60,50), фит без WCO-сдвига). 808 фронт-тестов + оба cargo-воркспейса зелёные.
Примечание: ревизует неверный «фикс #3» из ревью #662.
Refs #688