Skip to content

Commit

Permalink
Scenario fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
arda-guler committed Oct 27, 2024
1 parent 5153fc7 commit 7e225fa
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 34 deletions.
4 changes: 1 addition & 3 deletions scenarios/geostationary.obf
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
draw_mode 1
move_cam_by 0 3000 20000
rotate_cam_by x -10
note FRAME_OF_REFERENCE Rotating the frame of reference, please wait...
lock_scene_rot Karagoz
t=400 clear traj_visuals
t=400 hide FRAME_OF_REFERENCE
t=2 clear traj_visuals
show Hacivat horizon_angle Eq1 HACIVAT_ANGLE_ABOVE_HORIZON
show Karagoz horizon_angle Eq2 KARAGOZ_ANGLE_ABOVE_HORIZON
create_plot HacivatGroundTrack groundtrack Hacivat Earth 50 12000
Expand Down
8 changes: 3 additions & 5 deletions scenarios/horseshoe.obf
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
move_cam_by 0 20000000 80000000
rotate_cam_by x -20
delta_t 86400
output_rate 864000
lock_origin Sol
lock_scene_rot Earth
note ROT Rotating frame of reference, please wait...
t=550 clear traj_visuals
t=550 hide ROT
t=550 delta_t 500
t=550 output_rate 2000
t=864000 clear traj_visuals
21 changes: 10 additions & 11 deletions scenarios/horseshoe.osf
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@
; Simulation of the Earth co-orbital (419624) 2010 SO16.
;
;
B|Mercury|data/models/minimercury.obj|None|330200000000000000000000|2440000|[0.87,0.80,0.77]|[ 29538994104.51555, 6249351652.770508,-42276107975.68034]|[ -37351.10987200028, 494.36441510050247,-38648.98908767687]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Venus|data/models/minivenus.obj|None|4868500000000000000000000|6051840|[1.0,0.93,0.69]|[ -11890490588.1683, 6048049571.687455,-108190731445.0878]|[ -34989.775415268196, -683.1705083215418,3521.90129315428]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Earth|data/models/miniearth.obj|None|5972190000000000000000000|6371000|[0.04,0.15,0.85]|[ 144562119295.27582, 23551959.999457,-26007453303.22259]|[ -5149.12078871033, 0.3849310062455924,-29838.00155786667]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Mars|data/models/minimars.obj|None|641710000000000000000000|3389920|[0.91,0.31,0.23]|[ -217519691911.758, -3441546039.979607,-45077763779.18092]|[ -2734.379316488365, -662.0611008282651,24670.35556790299]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Jupiter|data/models/minijupiter.obj|None|1898187220000000000000000000|69911000|[0.90,0.79,0.72]|[ 531392043034.88794, -13869275480.116781,521378791683.9414]|[ 9769.593650288207, 171.3704893855166,-9471.10613175765]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Saturn|data/models/minisaturn.obj|None|568340000000000000000000000|60268000|[0.97,0.89,0.84]|[ -556364027575.511, -43861267004.02921,1344601481340.454]|[ 8906.688975177265, -280.4453484855407,3153.932310901134]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Uranus|data/models/miniuranus.obj|None|86813000000000000000000000|25362000|[0.60,0.76,0.71]|[ 2288456661143.972, -15267204923.66171,1834522298407.818]|[ 3942.163146626068, 84.12417759243063,-5363.468854760134]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Neptune|data/models/minineptune.obj|None|102409000000000000000000000|24624000|[0.50,0.64,0.85]|[ -268350410418.8498, -97334065340.85184,4463254489237.8955]|[ 5457.713146025749, -119.0809211277555,290.27425445099936]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Sol|data/models/minisol.obj|None|1988500000000000000000000000000|695700000|[1.0,0.94,0.12]|[ -4539030819.7624445, -258671638.3464677,2573382708.427413]|[ 1488.502174309847, -1567.666849653079,4868.947834790682]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|3.9E26|0|0|[]
;
V|2010_SO16|data/models/fragment.obj|[1,0,0.0,0.0]|[1.267883906190574E+11,1.217354845256221E+10, 7.612324569143388E+10]|[1.261494038306452E+04,6.882957305875475E+03,-2.619085836677555E+04]
B|Mercury|data/models/minimercury.obj|None|3.30114902e+23|2440000|[0.87,0.80,0.77]|[ 43031183808.5706, 5412404672.631748,-20941774255.45749]|[ -20114.025263856638, 3243.060896891674,-53278.83845842172]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Venus|data/models/minivenus.obj|None|4.86752460e+24|6051840|[1.0,0.93,0.69]|[ 82990833030.86722, -2927733370.55723,70417098664.80905]|[ 22518.00822163271, 1855.924194494921,-26816.60118625607]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Earth|data/models/miniearth.obj|None|6.04589804e+24|6371000|[0.04,0.15,0.85]|[ 145215774030.9568, -28663923.21097106,-26360301634.977394]|[ -5539.988261428474, 0.44503925192973526,-29777.42293101315]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Mars|data/models/minimars.obj|None|6.41719746e+23|3389920|[0.91,0.31,0.23]|[ 58464527537.78194, -3784244709.563948,203167028251.2838]|[ 25383.00684782619, 672.2935852623699,-5730.507858295674]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Jupiter|data/models/minijupiter.obj|None|1.89860300e+27|69911000|[0.90,0.79,0.72]|[ -150904451471.6903, 18547104653.477932,-801298462238.1866]|[ -12221.614493590729, 0.0828372766052965,2266.2269730439307]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Saturn|data/models/minisaturn.obj|None|5.68483441e+26|60268000|[0.97,0.89,0.84]|[ -1475898171150.434, 36766408901.4408,-279016548933.377]|[ -1824.8498462758141, -324.94321495629544,8961.727117079583]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Uranus|data/models/miniuranus.obj|None|8.68228409e+25|25362000|[0.60,0.76,0.71]|[ 1171374249540.556, -31198895980.57538,2744017334690.32]|[ 5945.746278753052, 57.36977776111729,-2723.471224385471]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Neptune|data/models/minineptune.obj|None|1.02435228e+26|24624000|[0.50,0.64,0.85]|[ -1449526072039.57, -67854031660.70205,4239524350529.292]|[ 5175.266271804064, -146.265840630686,1722.2584854138229]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Sol|data/models/minisol.obj|None|1.98849925e+30|695700000|[1.0,0.94,0.12]|[5.888659190689115E+08, -2.333966614386419E+07, 5.063634398940383E+08]|[1.162145032708252E+01,9.254269699040044E-02,-4.528767789366911E+00]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|3.9E26|0|0|[]
;
V|2010_SO16|data/models/fragment.obj|[1,0,0.0,0.0]|[1.387633462449072E+11,1.973789280106202E+10,4.511738478075897E+10]|[6.234288624208292E+03, 6.123203170940902E+03, -2.916501904994203E+04]
4 changes: 2 additions & 2 deletions scenarios/lunar_flight.osf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
;

; Celestial bodies
B|Earth|data/models/miniearth.obj|None|5972000000000000000000000|6371000|[0.0,0.25,1.0]|[0,0,0]|[0,0,0]|[[1,0,0],[0,1,0],[0,0,1]]|86400|[0,1,0]|0|0|0|0|[]
B|Luna|data/models/miniluna.obj|None|73420000000000000000000|1737000|[0.8,0.8,0.8]|[349792.3033081594e3, 124291.1992883908e3, 137633.9092677312e3,]|[0.3750805314463571e3, 0.0943667821404095e3, -0.91379894576409e3]|[[1,0,0],[0,1,0],[0,0,1]]|2360592|[0,1,0]|0|0|0|0|[]
B|Earth|data/models/miniearth.obj|None|5.97243685e+24|6371000|[0.0,0.25,1.0]|[0,0,0]|[0,0,0]|[[1,0,0],[0,1,0],[0,0,1]]|86400|[0,1,0]|0|0|0|0|[]
B|Luna|data/models/miniluna.obj|None|7.34611945e+22|1737000|[0.8,0.8,0.8]|[349792.3033081594e3, 124291.1992883908e3, 137633.9092677312e3,]|[0.3750805314463571e3, 0.0943667821404095e3, -0.91379894576409e3]|[[1,0,0],[0,1,0],[0,0,1]]|2360592|[0,1,0]|0|0|0|0|[]

; Vessels
V|lunar-orbiter|data/models/miniprobe.obj|[0.0,0.8,0.7]|[75679.87867537055e3, 21487.63875187856e3, -137380.1984338506e3]|[-0.4462753967758019e3, 0.08561205662877103e3, -0.2324532014235503e3]
Expand Down
18 changes: 9 additions & 9 deletions scenarios/mars_transfer.obf
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ t=5000000 update_projection transfer_orbit
t=10000000 update_projection transfer_orbit
t=15000000 update_projection transfer_orbit
t=20000000 update_projection transfer_orbit
t=26468460 output_rate 1000
t=26468460 delta_t 100
t=26486460 output_rate 5
t=26486460 delta_t 10
t=26488490 clear traj_visuals
t=26488490 create_projection p_mars Orbiter Mars
t=26488490 delete_projection transfer_orbit
t=26488490 delta_t 100
t=26488490 output_rate 5000
t=26401604 output_rate 1000
t=26421604 delta_t 100
t=26430000 output_rate 5
t=26431000 delta_t 10
t=26431610 clear traj_visuals
t=26431610 create_projection p_mars Orbiter Mars
t=26431610 delete_projection transfer_orbit
t=26431610 delta_t 100
t=26431610 output_rate 5000
8 changes: 4 additions & 4 deletions scenarios/mars_transfer.osf
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
; A simple Hohmann transfer to Mars, with Mars orbit injection.
;
; Celestial bodies
B|Sol|data/models/minisol.obj|None|1988500000000000000000000000000|695700000|[1.0,0.94,0.12]|[0,0,0]|[0,0,0]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|3.9E26|0|0|[]
B|Earth|data/models/miniearth.obj|None|5972190000000000000000000|6371000|[0.04,0.15,0.85]|[123252041766.6924,-3648670.132182539,81665512854.85254]|[16337.74862423494,0.4624795768828349,-25306.09365829075]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Mars|data/models/minimars.obj|None|641710000000000000000000|3389920|[0.91,0.31,0.23]|[170923349749.3097,7978454986.086674,-179143115924.3884]|[-15464.75840943173,64.12726793526424,-15812.68861997547]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Sol|data/models/minisol.obj|None|1.98849925e+30|695700000|[1.0,0.94,0.12]|[0,0,0]|[0,0,0]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|3.9E26|0|0|[]
B|Earth|data/models/miniearth.obj|None|5.97243685e+24|6371000|[0.04,0.15,0.85]|[123252041766.6924,-3648670.132182539,81665512854.85254]|[16337.74862423494,0.4624795768828349,-25306.09365829075]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
B|Mars|data/models/minimars.obj|None|6.41719746e+23|3389920|[0.91,0.31,0.23]|[170923349749.3097,7978454986.086674,-179143115924.3884]|[-15464.75840943173,64.12726793526424,-15812.68861997547]|[[1,0,0],[0,1,0],[0,0,1]]|0|[0,1,0]|0|0|0|0|[]
;
; Vessels
V|Orbiter|data/models/miniprobe.obj|[0,1,0]|[123255244618.4544,-8071711.766816676,81669241200.66255]|[20710.66170163392,-4834.201012890036,-34808.57120215656]
;
; Maneuvers
M|moi|impulsive|Orbiter|Mars|retrograde|2800.0|26488460
M|moi|impulsive|Orbiter|Mars|retrograde|2900.0|26431604.0

0 comments on commit 7e225fa

Please sign in to comment.