Point at a world direction through the mount model (calibration verify).
(azDeg: number, elDeg: number)
| 259 | |
| 260 | /** Point at a world direction through the mount model (calibration verify). */ |
| 261 | gotoAzEl(azDeg: number, elDeg: number): void { |
| 262 | if (this.mode === "auto") this.setMode("manual"); |
| 263 | const cfg = this.cfg(); |
| 264 | const pt = mountFromWorld(azDeg, elDeg, cfg.mount); |
| 265 | const zoom = this.driver().getPose()?.zoomUnits ?? cfg.units.zoomWideUnits; |
| 266 | const pose = { ...pt, zoomUnits: zoom }; |
| 267 | this.lastCommanded = pose; |
| 268 | this.driver().gotoAbsolute(pose); |
| 269 | this.recorder.write("gotoAzEl", { azDeg, elDeg, pose }); |
| 270 | } |
| 271 | |
| 272 | /** Raw mechanical move (units-per-degree measurement). */ |
| 273 | gotoPanTilt(panDeg: number, tiltDeg: number, zoomUnits?: number): void { |
no test coverage detected