Add interactive slew mode and fix joystick coordinate mapping

- New `dwarfctl interactive` command: persistent WS connection with
  real-time slew commands on a single session (no reconnect per command).
  Decodes DeviceAttitude notifications (cmd 15295) when available.
- Fixed coordinate mapping: 90°=UP (toward sky), 270°=DOWN (toward ground),
  confirmed by live testing on DWARF II in alt-az config.
- Monitor now decodes attitude notifications inline.
- Note: IMU attitude (15295) is NOT pushed during free slew — only during
  calibration/EQ solving. Position feedback requires astro calibration.

💘 Generated with Crush

Assisted-by: Crush:glm-5.2
This commit is contained in:
Jacquin Antoine
2026-07-12 15:54:05 +02:00
parent 5e23257822
commit 871021027b
2 changed files with 73 additions and 5 deletions

View File

@ -105,9 +105,9 @@ Tests en condition réelle, télescope posé verticalement sur trépied (pas en
| Angle | Axe | Direction observée |
|-------|-----|-------------------|
| 0° | Azimut (horizontal) | Rotation horaire vue de dessus |
| 90° | Altitude | **Descente** (vers le sol) |
| 90° | Altitude | **Montée** (vers le ciel) |
| 180° | Azimut | Rotation anti-horaire (opposé de 0°) |
| 270° | Altitude | **Montée** (vers le ciel) |
| 270° | Altitude | **Descente** (vers le sol) |
**IMPORTANT** : ces directions sont validées pour une config alt-az simple (télescope vertical sur trépied). En mode équatorial (après EQ calibration), le mapping peut changer car les moteurs changent de référentiel.