The orbits of Neptune's moons are not rendered correctly

Bug #834737 reported by Carlo
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Stellarium
Fix Released
High
Guillaume Chereau

Bug Description

Stellarium Version 0.11.0 The red ellipse of the Laomedeia's orbit is irregular

Added by Bogdan Marinov:
The problem with moon orbits noticed by me in the comments applies for all planets with moons. See bug #889712:
https://bugs.launchpad.net/stellarium/+bug/889712
The issue with Laomedeia may be unrelated, as it looks visually different and appears even if the time is not changed.

Tags: solar-system
treaves (treaves)
Changed in stellarium:
status: New → Incomplete
Revision history for this message
Bogdan Marinov (daggerstab) wrote :

Wrong compared to what? Do you have light speed simulation turned on?

Changed in stellarium:
milestone: none → 0.11.1
Carlo (demasicarlo)
description: updated
description: updated
summary: - Laomedeia's orbit (Neptune's satellite) is wrong
+ The red ellipse of the Laomedeia's orbit (Neptune's moon) is irregular
description: updated
Revision history for this message
Bogdan Marinov (daggerstab) wrote :

We need to decide what to do about moon orbits. See bug #834727.
https://bugs.launchpad.net/stellarium/+bug/834727

summary: - The red ellipse of the Laomedeia's orbit (Neptune's moon) is irregular
+ The orbits of Neptune's moons are not rendered correctly
description: updated
Changed in stellarium:
importance: Undecided → High
status: Incomplete → Confirmed
Revision history for this message
Bogdan Marinov (daggerstab) wrote :
Changed in stellarium:
milestone: 0.11.1 → 0.11.2
description: updated
Changed in stellarium:
milestone: 0.11.2 → 1.0.0
Revision history for this message
Shantanu Agarwal (shantanuag) wrote :

Hi

The problem is not with the code, but with ssystem. The parameter names are case sensitive. Changing orbit_epoch and orbit_period to orbit_Epoch and orbit_Period under laomedeia solves the problem.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Oh, thanks! I think it's my fault.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

O.K. I'm made a simple investigation of this issue and found troubles with rendering of orbits not related with typos for their elements.

Look at screenshots - it's like of troubles with rounding or double/float transformation.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Some time ago...

Revision history for this message
Shantanu Agarwal (shantanuag) wrote :

I'm sorry, I couldn't reproduce the error. Changing the time shifts the orbit appropriately. Could you please elaborate on how to reproduce the result you got. I used the qt-4.8-compact branch (recently created).

Revision history for this message
Alexander Wolf (alexwolf) wrote :

It's from trunk

Revision history for this message
Shantanu Agarwal (shantanuag) wrote :

I use windows and therefore can't compile from trunk with the latest revision. Could it be that this problem occurs only in trunk? That's highly unlikely though.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

Revision 5305 enable Qt 4.8 compatible mode for trunk.

Revision history for this message
Shantanu Agarwal (shantanuag) wrote :

Thanks for that. But I couldn't reproduce the error even in this branch. When I change the time, the orbit also moves in sync with the planet.

Weisson Ang (weisson123)
Changed in stellarium:
status: Confirmed → Incomplete
Changed in stellarium:
status: Incomplete → Confirmed
tags: added: solar-system
Changed in stellarium:
milestone: 1.0.0 → none
Changed in stellarium:
assignee: nobody → Guillaume Chereau (guillaume-chereau)
Revision history for this message
Guillaume Chereau (guillaume-chereau) wrote :

I also cannot reproduce this bug. Need more information, or is this a Windows only issue?

Revision history for this message
Guillaume Chereau (guillaume-chereau) wrote :

OK, actually I confirm the bug (on linux 64bit). When I move the time, I eventually see something similar to the screenshot stellarium_000.png.

Revision history for this message
Guillaume Chereau (guillaume-chereau) wrote :

The problem seemed to be that the orbit positions of the satellites were computed while the parent planet sill holds its ecliptic position without light speed adjustment. We could make sure that the solar system bodies are always iterated in order from parent to children, or (as I just committed), call parent->computePositionWithoutOrbits first thing in Planet::computePosition.

Let me know if that induces any regression.

Revision history for this message
Alexander Wolf (alexwolf) wrote :

A fix has been committed as revision 7335 of the trunk branch of Stellarium's Bazaar repository at Launchpad: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/7335

Changed in stellarium:
milestone: none → 0.13.2
status: Confirmed → Fix Committed
Changed in stellarium:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.