[bug] eclipse mars phobos

Report bugs, bug fixes and workarounds here.
Topic author
symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 7 months
Location: france, divion

[bug] eclipse mars phobos

Post #1by symaski62 » 20.09.2012, 12:24

( phobos ) => CustomOrbit "phobos" bug ?

( phobos 2 ) => EllipticalOrbit


( MARS test 1 ) => 09/01/2012 to 09/30/2012 30 min to 30 min

yes eclipse

OrbitFrame { EclipticJ2000 { Center "sol/mars" } }
SampledTrajectory { Source "test.xyzv" }

http://mars.jpl.nasa.gov/msl/multimedia/images/?ImageID=4687


Code: Select all

"Phobos:Mars I" "Sol/Mars"
{
   Mesh "phobos.cmod"
   Texture "phobos.*"
   Radius 13.0 # maximum semi-axis
   MeshCenter [ -0.233 -0.156 -0.168 ]

   CustomOrbit   "phobos"
   
   #EllipticalOrbit
   #{
   #   Epoch       2455198      # 2010 Jan 1 12:00
   #   Period        0.31891023   # mean
   #  SemiMajorAxis  9377.2      # mean
   #   Eccentricity      0.0151   # mean
   #   Inclination       1.082      # mean
   #   AscendingNode    16.946
   #   ArgOfPericenter 157.116
   #   MeanAnomaly     271.138
   #}

   BodyFrame { EquatorJ2000 { center "sol/mars" } }
   CustomRotation "iau-phobos"
   

   # Overriden by CustomRotation
   # UniformRotation
   # {
   #    Inclination    37.10
   #    AscendingNode  47.68
   #    MeridianAngle  35.06
   # }

   Albedo         0.07
}

"Phobos 2:Mars I 2" "Sol/Mars"
{
   Mesh "phobos.cmod"
   Texture "phobos.*"
   Radius 13.0 # maximum semi-axis
   MeshCenter [ -0.233 -0.156 -0.168 ]

   
   EllipticalOrbit
   {
      Epoch       2455198      # 2010 Jan 1 12:00
      Period        0.31891023   # mean
     SemiMajorAxis  9377.2      # mean
      Eccentricity      0.0151   # mean
      Inclination       1.082      # mean
      AscendingNode    16.946
      ArgOfPericenter 157.116
      MeanAnomaly     271.138
   }

   BodyFrame { EquatorJ2000 { center "sol/mars" } }
   CustomRotation "iau-phobos"
   

   # Overriden by CustomRotation
   # UniformRotation
   # {
   #    Inclination    37.10
   #    AscendingNode  47.68
   #    MeridianAngle  35.06
   # }

   Albedo         0.07
}

"MARS TEST 1" "sol/mars"
{
    Class "moon"
   Radius 13.0
   Mesh "phobos.cmod"
    Texture "phobos.*"
   
   OrbitFrame { EclipticJ2000 { Center "sol/mars" } }
   SampledTrajectory { Source "test.xyzv" }
   
   Albedo 0.7
}
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: [bug] eclipse mars phobos

Post #2by John Van Vliet » 20.09.2012, 22:27

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 04:23, edited 1 time in total.

Topic author
symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 7 months
Location: france, divion

Re: [bug] eclipse mars phobos

Post #3by symaski62 » 21.09.2012, 07:58

john Van Vliet wrote:bug as in what??

i would not even expect to see an eclipse from the curiosity rover location
unless you were using JPL's naif spice kernel s for the rover on SOL 37 and the planet and moons
1) rover sipce kernel
2) Mars spice kernels (barycenter)
3)Phobos spice kernels (barycenter)
and even then ??? i would not expect to see it at the correct time and location ( should be close )

1) rover MSL 4°35'22.44"S & 137°26'30.02"E => 4.589566667 Sud & 137.4416722 Est

2)

Code: Select all

Ephemeris Type [change] :    VECTORS
Target Body [change] :    Phobos (MI) [401]
Coordinate Origin [change] :    Mars (body center) [500@499]
Time Span [change] :    Start=2012-09-01, Stop=2012-09-30, Step=30 m
Table Settings [change] :    output units=KM-S; quantities code=2; CSV format=YES
Display/Output [change] :    default (formatted HTML)


3) image :)
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Topic author
symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 7 months
Location: france, divion

Re: [bug] eclipse mars phobos

Post #4by symaski62 » 26.09.2012, 14:01

customorbit.cpp
http://www.celestiaproject.net/~t00fri/celesti ... p.html#a43

Code: Select all

02823     if (name == "phobos")
02824         return new PhobosOrbit();
02825     if (name == "deimos")
02826         return new DeimosOrbit();


-------------------------------------------

http://www.celestiaproject.net/~t00fri/celesti ... Orbit.html
PhobosOrbit

Code: Select all

         double epoch = 2433283.0 - 0.5; // 00:00 1 Jan 1950
         double a     = 9380.0;
         double e     = 0.0151;
         double w0    = 150.247;
         double M0    =  92.474;
         double i     =   1.075;
         double node0 = 164.931;
         double n     = 1128.8444155;
         double Pw    =  1.131;
         double Pnode =  2.262;



http://www.youtube.com/watch?v=xhBqypuaRS8 probleme ?

(phobos) => CustomOrbit "phobos" <= video

(phobos 2)=> EllipticalOrbit
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Topic author
symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 7 months
Location: france, divion

Re: [bug] eclipse mars phobos

Post #5by symaski62 » 28.09.2012, 11:36

Code: Select all

"phobos SPICE" "sol/mars"
{
   Mesh "phobos.cmod"
   Texture "phobos.*"
   Radius 13.0 # maximum semi-axis
   MeshCenter [ -0.233 -0.156 -0.168 ]

        OrbitFrame { EclipticJ2000 { Center "Sol/Mars" } }
        CustomRotation "iau-phobos"
         
        SpiceOrbit
        {
            Kernel "mar085.bsp"
            Target "401"
            Origin "499"
         Period  0.31891023
            BoundingRadius 1e10
        }
      
    Albedo         0.07
}

"Deimos SPICE" "Sol/Mars"
{
    Mesh "deimos.cmod"
   Texture "deimos.*"
   Radius 7.9 # maximum semi-axis
   MeshCenter [ -0.299 -0.284 0.369 ]

        OrbitFrame { EclipticJ2000 { Center "Sol/Mars" } }
        CustomRotation "iau-deimos"
   
       SpiceOrbit
        {
            Kernel "mar085.bsp"
            Target "402"
            Origin "499"
         Period  1.2624407
            BoundingRadius 1e10
        }
   Albedo         0.08
}


ouai ! simulator :)
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Topic author
symaski62
Posts: 610
Joined: 01.05.2004
Age: 41
With us: 20 years 7 months
Location: france, divion

Re: [bug] eclipse mars phobos

Post #6by symaski62 » 30.09.2012, 09:17

^^ help :)

celestia.exe SVN-5178 1.7.0 version BETA

4 (mars) => go to !

"L" X100000 :)

EllipticalOrbit => no simulator

customOrbit and SPICE => yes simulator

:mrgreen:
windows 10 directX 12 version
celestia 1.7.0 64 bits
with a general handicap of 80% and it makes much d' efforts for the community and s' expimer, thank you d' to be understanding.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: [bug] eclipse mars phobos

Post #7by John Van Vliet » 30.09.2012, 09:35

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 04:22, edited 1 time in total.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: [bug] eclipse mars phobos

Post #8by John Van Vliet » 30.09.2012, 10:22

--- edit ---
Last edited by John Van Vliet on 19.10.2013, 04:22, edited 1 time in total.

Avatar
John Van Vliet
Posts: 2944
Joined: 28.08.2002
With us: 22 years 3 months

Re: [bug] eclipse mars phobos

Post #9by John Van Vliet » 01.10.2012, 10:52

--- edit ---


Return to “Bugs”