[Kstars-devel] KDE/kdeedu/kstars/kstars
Jason Harris
kstars at 30doradus.org
Fri Jun 10 09:15:26 CEST 2005
SVN commit 423925 by harris:
Ladies and Gentlemen, I give you: Pluto the asteroid.
Yes, it's true, Pluto is now derived from KSAsteroid instead of
KSPlanetBase. Using the asteroid-like orbital elements results in a
much more precise determination of its position, which remains robust
over a much longer interval of time (thousands of years instead of
~100 years).
The derived class (KSPluto) hard-codes the orbital elements for Pluto,
as taken from this site: http://ssd.jpl.nasa.gov/elem_planets.html It
also allows for the orbital elements to evolve with time, at a
constant rate. The rates are also from that website, and are also
hard-coded in KSPluto,
Updated Pluto's orbital track data for the solar system viewer. Also
fixed the calculation of the planets' X/Y coordinates in the tool.
Before, we gave X and Y in the plane of the planet's orbit, rather
than in the ecliptic plane. The positions are now correctly projected
onto the ecliptic plane. It only makes a noticeable difference for
Pluto (due to its large inclination angle).
Also fixed calculation of planet magnitudes. I was getting "nan" mags
for both Pluto and Mercury. I didn't understant the calculation of
the planet phase, so I used a much simpler formulation of it from
"Practical Astronomy with your Calculator". Pablo, please have a look
at what I did there (in KSPlanetBase::findMagnitude).
CCMAIL: kstars-devel at kde.org
M +1 -1 data/Makefile.am
D data/pluto.freq
M +100 -100 data/pluto.orbit
D data/pluto.x
D data/pluto.y
D data/pluto.z
M +28 -17 ksasteroid.cpp
M +10 -0 ksasteroid.h
M +13 -20 ksplanetbase.cpp
M +33 -264 kspluto.cpp
M +32 -47 kspluto.h
M +1 -3 planetcatalog.cpp
M +13 -29 tools/planetviewer.cpp
More information about the Kstars-devel
mailing list