Skip to content

Imu fix chart orientation#416

Closed
TakKanekoGit wants to merge 7 commits into
brickbots:mainfrom
TakKanekoGit:imu_fix_chart_orientation
Closed

Imu fix chart orientation#416
TakKanekoGit wants to merge 7 commits into
brickbots:mainfrom
TakKanekoGit:imu_fix_chart_orientation

Conversation

@TakKanekoGit
Copy link
Copy Markdown
Contributor

@TakKanekoGit TakKanekoGit commented May 2, 2026

This PR fixes chart display with the quaternion version of the integrator.

Fixed by rotating the chart by -parallactic_angle rather than roll.

When mount_type is alt/az, it will correctly display the chart in horizontal coordinates. If the mount_type is equatorial, it will display the chart in equatorial coordinates (north-up in norther hemisphere and south-up in southern hemisphere). If location or time is not available from the GPS, the chart display will default to equatorial coordinates (north-up).

Sky tested (f53401a) 1 May 2026 in the northern hemisphere.

@TakKanekoGit TakKanekoGit changed the base branch from release to main May 2, 2026 08:01
@brickbots
Copy link
Copy Markdown
Owner

Hi @TakKanekoGit thanks for this great double-pr update for the chart screen. I merged the later one firstand ended up with a conflict on this earlier one 😅 I think I've fixed it up and it seems to run fine, but before I merge this to main would you take a quick scan of integrator.py to make sure I didn't make a more subtle mistake?

@TakKanekoGit
Copy link
Copy Markdown
Contributor Author

TakKanekoGit commented May 10, 2026

Hi @brickbots -- Thank you! Actually, this PR (#416) is a direct descendent of the PR you merged in (#417) so all the functionalities from this PR is already in main. Sorry my request wasn't clear.

Maybe the easiest option is to abandon this PR? If you're ok with that, I will remove it.

@brickbots
Copy link
Copy Markdown
Owner

Hi Hi! Yes, that sounds great, if #417 does the job then I'll close this. Thanks again for this great update!

@brickbots brickbots closed this May 10, 2026
@TakKanekoGit TakKanekoGit deleted the imu_fix_chart_orientation branch May 15, 2026 20:38
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.

2 participants