Skip to content

Conversation

@TakKanekoGit
Copy link
Contributor

@TakKanekoGit TakKanekoGit commented Aug 20, 2025

Work-in-progress...

Features:

  • IMU dead-reckoning tracking for EQ mounts.
  • PiFinder no longer needs to be placed upright (it can be mounted as any angle as long as the camera points the same way as the scope).
  • For altaz mounts, the charts are displayed in horizontal coordinates (Zenith-up) so that alt/az motion will be left/right and up/down. For EQ mounts, the charts are displayed in equatorial coordinates (NCP up) so that az/dec motion will be left/right and up/down.

Changes:

  • imu_pi.py: IMU data coordinates are no longer altered here depending on the PiFinder type. IMU outputs will be they are from the IMU. This is now done in imu_dead_reckoning.py.
  • integrator.py: Substantial changes. Tracking is done in the equatorial coordinates rather than altaz coordinates. Use quaternion for the IMU dead-reckoning. Sets solver["Roll"] depending on the mount type for chart display.
  • pointing_model\: The new classes and functions are grouped up here. It's possible that we could extend this in the future?
  • requirements_dev.txt: Requires numpy.quaternion.

This PR touches the core of the IMU functionality so it still needs to be tested thoroughly on all PiFinder types and also on altaz and EQ mounts.

Issues:

  • Fix issues after merging with the auto exposure feature
  • Chart rotates 180 degrees to the East of Mirfak (from sky testing): Pointings in RA, Dec were OK but in Chart mode, the chart rotated 180 degrees as I crossed to the East of around Mirfak in Perseus with the result that slewing to the
    East showed up as moving to the right.
  • Southern hemisphere & equator EQ mode: Should it be South Pole up (roll = 180 deg)?
  • Southern hemisphere & equator Alt/az mode: if lat < 0: Display Roll + 180 deg (south up). Use North at equator

Sky test IMU orientations

  • Flat v2
  • Left
  • Right
  • Straight
  • Flat v3
  • as_dream

Tak Kaneko added 30 commits August 8, 2025 22:52
…ternion(0, 0, 0, 0) because it's used in statements like if imu["quat"]...
Tak Kaneko and others added 30 commits November 2, 2025 01:26
…ame as the value used in the original code (when converted to deg).
# Conflicts:
#	python/PiFinder/camera_interface.py
#	python/PiFinder/integrator.py
#	python/PiFinder/solver.py
…nges for Auto Exposure that was lost in merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants