fix(smargon): OZ is an O-vector length in mm, not deg

OX/OY/OZ are components of the SCS offset vector, which /nudgeOBCS shifts
in mm along the beamline axes; the API example reports OZ: 300.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
menzelandClaude Opus 5.5 committed 2026-11-13 08:59:09 +01:00
1 parent fb6e9a2163
commit cf0157a096
1 file changed
+3 -1
+3 -1
View File
@@ -17,6 +17,8 @@ smargopolo runs the kinematics; we drive the *virtual* SmarGon Coordinate System
* **SCS** -- the user axes: ``SHX SHY SHZ OMEGA CHI PHI OX OY OZ`` (mm and deg).
Settable via ``/targetSCS`` (+ ``/targetSCS_rel``), read via ``/readbackSCS``.
``OX OY OZ`` are the O-vector (offset) components, a length in mm like ``SH*``;
``/nudgeOBCS`` shifts the same vector in the beamline frame.
* **MCS** -- the raw motor positions ``q1..q6``, read-only via ``/readbackMCS``
(diagnostics only; we never command them directly).
* **BCS** -- beamline-frame nudges ``BX BY BZ`` via ``/nudgeBCS`` / ``/nudgeOBCS``
@@ -98,7 +100,7 @@ AXIS_INFO: dict[Axis, AxisLimits] = {
Axis.PHI: AxisLimits(egu="deg"),
Axis.OX: AxisLimits(egu="mm"),
Axis.OY: AxisLimits(egu="mm"),
Axis.OZ: AxisLimits(egu="deg"),
Axis.OZ: AxisLimits(egu="mm"), # O-vector component (mm), not an angle
}