|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Question about orbital mechanics
I am writing a program that simulates a planetary system (a star and a group
of planets in orbit about it). I am writing the program in Tcl and I have ported a C program, Stargen (http://www.eldacur.com/~brons/NerdCo.../StarGen.html), to generate the planetary system and part of the ORSA (http://orsa.sourceforge.net/), to perform orbital calculations. At this point I can generate a planetary system and compute the orbits of the planets. I want to add in spacecraft, but I am not sure how to determine a spacecraft's orbit -- for a given position and velocity, which planet (if any) would the spacecraft be in orbit about? I don't know if I should create a 'body' (an ORSA data type/class), with a given mass, position, and velocity for the spacecraft and then compute this body's orbit with each planet and the star (the ORSA library has a method which computes the orbital parameters given a pair of bodies). How do I tell which is the most likely orbit? -- Robert Heller -- 978-544-6933 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services -- Webhosting Services |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Orbital mechanics question (around sun) | John Doe | Space Shuttle | 4 | July 8th 10 10:49 PM |
Orbital Mechanics Question | [email protected][_2_] | Astronomy Misc | 3 | October 17th 07 12:56 AM |
Orbital mechanics question | [email protected] | Astronomy Misc | 2 | October 16th 07 06:31 PM |
Orbital mechanics question (moon) | John Doe | Space Shuttle | 8 | October 18th 04 06:49 PM |
orbital mechanics question | Bill Clark | History | 0 | August 2nd 03 05:38 PM |