Nivekk / KOS

Fully programmable autopilot mod for KSP.
Other
80 stars 30 forks source link

Add node properties to TARGET #222

Open baloan opened 10 years ago

baloan commented 10 years ago

Allow to extract node details when a target is selected.

print TARGET:ASCENDING.               // 0.1 in degrees.
print TARGET:ASCENDING:ETA.          // 825 in seconds.
print TARGET:DESCENDING.               // -0.1 in degrees.
print TARGET:DESCENDING:ETA.       // 1730 in seconds.
set asc to TARGET:ASCENDING.
print asc.
print asc:ETA.

This enables to align orbit inclination when planning transfer burns.

baloan commented 10 years ago

Actually I also need nextnode:ASCENDING and nextnode:DESCENDING to make it work.