Posts by NASA_SimGuy

by NASA_SimGuy
14.11.2018, 18:17
Forum: Ideas & News
Topic: Interstellar routes? Saving markers?
Replies: 4
Views: 1239

Re: Interstellar routes? Saving markers?

John71 said: The easiest is to replace the file "asterisms.dat" with one which draws your routes instead of constellations. What text do I place in the asterisms.dat file to draw lines? Is this documented somewhere? I need to draw 3D lines as I receive UDP packets with my trajectory state ...
by NASA_SimGuy
29.10.2018, 11:53
Forum: Scripting
Topic: Adding a spacecraft dynamically in Lua script
Replies: 10
Views: 1145

Re: Adding a spacecraft dynamically in Lua script

The y and Z might be swapped because Celestia uses a "Wandering frame" to reduce the changes of singularities when propagating.
by NASA_SimGuy
26.10.2018, 14:04
Forum: Scripting
Topic: Adding a spacecraft dynamically in Lua script
Replies: 10
Views: 1145

Scripted Positions/Quaternions

I want to learn about Celestia frames. Please don't just point me to the Wiki. Gironde wrote that I will have to swap y and z coordinates. Why is this? What coordinate system has huge z values w.r.t. x and y? I thought universal, ecliptic and universal were all the same. I see where I can get the ob...
by NASA_SimGuy
22.10.2018, 15:49
Forum: Scripting
Topic: Adding a spacecraft dynamically in Lua script
Replies: 10
Views: 1145

Adding a spacecraft dynamically in Lua script

I now have an SLS vehicle with a ScriptedPosition and Rotation :smile: I need to use my ScriptedPosition Function "vFSPos" to set the SLS position. I can hard code the orbit:position(tjd)'s returned position to a float but I want to make calls like celestia:find("Earth") and use ...
by NASA_SimGuy
19.10.2018, 19:10
Forum: Scripting
Topic: Adding a spacecraft dynamically in Lua script
Replies: 10
Views: 1145

Not allowed to Navigate to Scripted Spacecraft

Thanks selden, I created an SLS.ssc file defined below but I cannot Navigation|"Select Object" like I do for the ISS. I know the 3D model works because I substituted it in the ISS.scc and it showed up. I would have added the files if I knew how to attach a file to the forum. Thoughts? # Sp...
by NASA_SimGuy
18.10.2018, 18:20
Forum: Scripting
Topic: Adding a spacecraft dynamically in Lua script
Replies: 10
Views: 1145

Adding a spacecraft dynamically in Lua script

I have a working Lua script but I want to add a new spacecraft to the scene. I want to add several spacecrafts and there states using the accessors similar to celestia:newframe("universal") After adding the spacecraft to the scene, I want to update the states from inside the Lua script. Is...

Go to advanced search