View difference between Paste ID: m40AP25m and 6HdVWh0J
SHOW: | | - or go back to the newest paste.
1
add node(time:Seconds + 300, 0, 0, 0).
2
lock lat to body:geopositionof(positionat(ship, time:seconds + nextnode:eta)):lat.
3
4-
set last to nextnode:obt:inclination.
4+
5-
until nextnode:obt:inclination > last 
5+
set step to 0.1.
6
7-
    set last to nextnode:orbit:inclination.
7+
set last to abs(lat).
8
until abs(lat) > last {set last to abs(lat). set nextnode:eta to nextnode:eta + step. wait 0. print lat.}
9
10
11
set last to abs(lat).
12
set step to step /-2.
13-
until nextnode:obt:inclination > last 
13+
until abs(lat) > last {set last to abs(lat). set nextnode:eta to nextnode:eta + step. wait 0. print lat.}
14
set nextnode:eta to nextnode:eta - step.
15-
    set last to nextnode:orbit:inclination.
15+
16
set step to 1.
17
lock inc to abs(nextnode:obt:inclination).
18
set last to inc.
19
until inc > last
20
{
21
    set last to inc.
22
    set nextnode:normal to nextnode:normal + step.
23
    wait 0. 
24
    print inc.
25
}
26
27
set step to step / -2.
28
set last to inc.
29
until inc > last
30
{
31
    set last to inc.
32
    set nextnode:normal to nextnode:normal + step.
33
    wait 0. 
34
    print inc.
35
}
36
set nextnode:normal to nextnode:normal - step.
37
print nextnode:orbit:inclination.