Commit 742db84
committed
alignment/SPK: complete pointing model with altaz convention and polar axis mapping
Implement the full 6-term Pmfit least-squares fitting loop with hot-path
incremental normal-equation accumulation. Apply the altaz roll convention
(pi - Az, matching vtel Note 7). Add call to MathPlugin::Initialise() so
the base class sanitizes sync points before Pmfit runs. Activate EQUATORIAL_PE
output in the CCD/guide simulators only when tracking state is Ok, so plate
solves see a stable star field.
Map ME (polar elevation error, pmv[2]) to pan/AN (along-meridian tilt) and
MA (polar azimuth error, pmv[3]) to paw/AW (across-meridian tilt) in
ParsePmfitCoefficients, following Wallace PM struct conventions.
Use RA-based (ANTI_CLOCKWISE) TDV encoding throughout: telescope_simulator
Sync/Goto, MathPlugin polar sanitizer, and SPKMathPlugin boundary functions.
Store LST in UpdateAstrometry so DirectionVectorToRollPitch and
RollPitchToDirectionVector can convert between RA-based TDVs and the
HA-based roll/pitch that the Wallace kernel expects internally.
Add altaz/EQ polar degeneracy and regression tests. Update ARCHITECTURE.md
to document the Wallace error injection pipeline.1 parent a682dd6 commit 742db84
11 files changed
Lines changed: 1064 additions & 140 deletions
File tree
- drivers
- ccd
- telescope
- libs/alignment
- spk
- test/alignment
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
661 | 667 | | |
662 | 668 | | |
663 | 669 | | |
| |||
1382 | 1388 | | |
1383 | 1389 | | |
1384 | 1390 | | |
1385 | | - | |
| 1391 | + | |
| 1392 | + | |
| 1393 | + | |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
1386 | 1400 | | |
1387 | 1401 | | |
1388 | 1402 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
519 | 519 | | |
520 | 520 | | |
521 | 521 | | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
522 | 528 | | |
523 | 529 | | |
524 | 530 | | |
| |||
1168 | 1174 | | |
1169 | 1175 | | |
1170 | 1176 | | |
1171 | | - | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
1172 | 1186 | | |
1173 | 1187 | | |
1174 | 1188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
582 | 588 | | |
583 | 589 | | |
584 | 590 | | |
| |||
Large diffs are not rendered by default.
0 commit comments