Browse Source

fix missing commas in orbit TOML blocks

main
cinnaboot 6 months ago
parent
commit
4c8050be84
  1. 8
      tests/configs/earth_circular.toml
  2. 16
      tests/configs/earth_mars_simple.toml
  3. 8
      tests/configs/hyperbolic_comet.toml
  4. 16
      tests/configs/interplanetary_transfer.toml
  5. 12
      tests/configs/maneuver_sequence.toml
  6. 16
      tests/configs/manual_root_transition.toml
  7. 8
      tests/configs/mars_circular.toml
  8. 12
      tests/configs/mutual_soi_close.toml
  9. 16
      tests/configs/simple_root_transition.toml
  10. 12
      tests/configs/soi_transition.toml
  11. 56
      tests/configs/solar_system.toml
  12. 12
      tests/configs/spacecraft_test.toml

8
tests/configs/earth_circular.toml

@ -9,8 +9,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -21,7 +21,7 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.5, b = 1.0 } color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }

16
tests/configs/earth_mars_simple.toml

@ -5,8 +5,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -17,8 +17,8 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.5, b = 1.0 } color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -29,8 +29,8 @@ radius = 3.3895e6
parent_index = 0 parent_index = 0
color = { r = 0.8, g = 0.3, b = 0.1 } color = { r = 0.8, g = 0.3, b = 0.1 }
orbit = { orbit = {
semi_major_axis = 2.279e11 semi_major_axis = 2.279e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -44,7 +44,7 @@ parent_index = 1
color = { r = 1.0, g = 0.0, b = 0.5 } color = { r = 1.0, g = 0.0, b = 0.5 }
orbit = { orbit = {
# Semi-major axis: Earth radius + 200km LEO altitude # Semi-major axis: Earth radius + 200km LEO altitude
semi_major_axis = 6.571e6 semi_major_axis = 6.571e6,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }

8
tests/configs/hyperbolic_comet.toml

@ -9,8 +9,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -21,7 +21,7 @@ radius = 5.0e3
parent_index = 0 parent_index = 0
color = { r = 0.5, g = 1.0, b = 0.5 } color = { r = 0.5, g = 1.0, b = 0.5 }
orbit = { orbit = {
semi_major_axis = -1.496e11 semi_major_axis = -1.496e11,
eccentricity = 1.5 eccentricity = 1.5,
true_anomaly = 0.0 true_anomaly = 0.0
} }

16
tests/configs/interplanetary_transfer.toml

@ -9,8 +9,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -21,8 +21,8 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.5, b = 1.0 } color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -33,8 +33,8 @@ radius = 3.3895e6
parent_index = 0 parent_index = 0
color = { r = 0.8, g = 0.3, b = 0.1 } color = { r = 0.8, g = 0.3, b = 0.1 }
orbit = { orbit = {
semi_major_axis = 2.279e11 semi_major_axis = 2.279e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -48,7 +48,7 @@ parent_index = 0 # Start orbiting Sun
color = { r = 0.0, g = 1.0, b = 0.0 } color = { r = 0.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
# Use elliptical transfer orbit with semi_major_axis halfway between Earth and Mars # Use elliptical transfer orbit with semi_major_axis halfway between Earth and Mars
semi_major_axis = 1.888e11 semi_major_axis = 1.888e11,
eccentricity = 0.3 eccentricity = 0.3,
true_anomaly = 0.0 true_anomaly = 0.0
} }

12
tests/configs/maneuver_sequence.toml

@ -9,8 +9,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -21,8 +21,8 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.5, b = 1.0 } color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -31,8 +31,8 @@ name = "LEO_Satellite"
mass = 1000.0 mass = 1000.0
parent_index = 1 parent_index = 1
orbit = { orbit = {
altitude = 400000.0 altitude = 400000.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }

16
tests/configs/manual_root_transition.toml

@ -8,8 +8,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -20,8 +20,8 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.5, b = 1.0 } color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -32,8 +32,8 @@ radius = 3.3895e6
parent_index = 0 parent_index = 0
color = { r = 0.8, g = 0.3, b = 0.1 } color = { r = 0.8, g = 0.3, b = 0.1 }
orbit = { orbit = {
semi_major_axis = 2.279e11 semi_major_axis = 2.279e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -45,7 +45,7 @@ radius = 1.0e1
parent_index = 1 # Start with Earth as parent parent_index = 1 # Start with Earth as parent
color = { r = 1.0, g = 0.0, b = 0.0 } color = { r = 1.0, g = 0.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 2.5e11 # Large orbit around Sun semi_major_axis = 2.5e11, # Large orbit around Sun
eccentricity = 0.1 eccentricity = 0.1,
true_anomaly = 0.0 true_anomaly = 0.0
} }

8
tests/configs/mars_circular.toml

@ -9,8 +9,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -21,7 +21,7 @@ radius = 3.3895e6
parent_index = 0 parent_index = 0
color = { r = 0.8, g = 0.3, b = 0.1 } color = { r = 0.8, g = 0.3, b = 0.1 }
orbit = { orbit = {
semi_major_axis = 2.244e11 semi_major_axis = 2.244e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }

12
tests/configs/mutual_soi_close.toml

@ -10,8 +10,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -22,8 +22,8 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.8, b = 0.3 } color = { r = 0.0, g = 0.8, b = 0.3 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -34,7 +34,7 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.8, g = 0.8, b = 0.3 } color = { r = 0.8, g = 0.8, b = 0.3 }
orbit = { orbit = {
semi_major_axis = 1.501e11 semi_major_axis = 1.501e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }

16
tests/configs/simple_root_transition.toml

@ -9,8 +9,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -21,8 +21,8 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.5, b = 1.0 } color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -33,8 +33,8 @@ radius = 3.3895e6
parent_index = 0 parent_index = 0
color = { r = 0.8, g = 0.3, b = 0.1 } color = { r = 0.8, g = 0.3, b = 0.1 }
orbit = { orbit = {
semi_major_axis = 2.279e11 semi_major_axis = 2.279e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -46,7 +46,7 @@ radius = 1.0e1
parent_index = 1 parent_index = 1
color = { r = 1.0, g = 0.0, b = 1.0 } color = { r = 1.0, g = 0.0, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 5.0e8 semi_major_axis = 5.0e8,
eccentricity = 0.2 eccentricity = 0.2,
true_anomaly = 0.0 true_anomaly = 0.0
} }

12
tests/configs/soi_transition.toml

@ -10,8 +10,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -22,8 +22,8 @@ radius = 3.3895e6
parent_index = 0 parent_index = 0
color = { r = 0.8, g = 0.3, b = 0.1 } color = { r = 0.8, g = 0.3, b = 0.1 }
orbit = { orbit = {
semi_major_axis = 2.244e11 semi_major_axis = 2.244e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -34,7 +34,7 @@ radius = 5.0e3
parent_index = 0 parent_index = 0
color = { r = 0.5, g = 0.8, b = 1.0 } color = { r = 0.5, g = 0.8, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 3.74e11 semi_major_axis = 3.74e11,
eccentricity = 0.7 eccentricity = 0.7,
true_anomaly = 0.0 true_anomaly = 0.0
} }

56
tests/configs/solar_system.toml

@ -7,8 +7,8 @@ radius = 6.96e8 # m
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -19,8 +19,8 @@ radius = 6.0518e6
parent_index = 0 parent_index = 0
color = { r = 0.9, g = 0.7, b = 0.3 } color = { r = 0.9, g = 0.7, b = 0.3 }
orbit = { orbit = {
semi_major_axis = 1.082e11 semi_major_axis = 1.082e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -31,8 +31,8 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.5, b = 1.0 } color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -43,8 +43,8 @@ radius = 3.3895e6
parent_index = 0 parent_index = 0
color = { r = 0.8, g = 0.3, b = 0.1 } color = { r = 0.8, g = 0.3, b = 0.1 }
orbit = { orbit = {
semi_major_axis = 2.279e11 semi_major_axis = 2.279e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -55,8 +55,8 @@ radius = 6.9911e7
parent_index = 0 parent_index = 0
color = { r = 0.9, g = 0.7, b = 0.5 } color = { r = 0.9, g = 0.7, b = 0.5 }
orbit = { orbit = {
semi_major_axis = 7.785e11 semi_major_axis = 7.785e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -67,8 +67,8 @@ radius = 5.8232e7
parent_index = 0 parent_index = 0
color = { r = 0.9, g = 0.8, b = 0.6 } color = { r = 0.9, g = 0.8, b = 0.6 }
orbit = { orbit = {
semi_major_axis = 1.434e12 semi_major_axis = 1.434e12,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -79,8 +79,8 @@ radius = 2.5362e7
parent_index = 0 parent_index = 0
color = { r = 0.5, g = 0.8, b = 0.9 } color = { r = 0.5, g = 0.8, b = 0.9 }
orbit = { orbit = {
semi_major_axis = 2.871e12 semi_major_axis = 2.871e12,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -91,8 +91,8 @@ radius = 2.4622e7
parent_index = 0 parent_index = 0
color = { r = 0.2, g = 0.4, b = 0.9 } color = { r = 0.2, g = 0.4, b = 0.9 }
orbit = { orbit = {
semi_major_axis = 4.495e12 semi_major_axis = 4.495e12,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -103,8 +103,8 @@ orbit = {
parent_index = 2 parent_index = 2
color = { r = 0.7, g = 0.7, b = 0.7 } color = { r = 0.7, g = 0.7, b = 0.7 }
orbit = { orbit = {
semi_major_axis = 3.844e8 semi_major_axis = 3.844e8,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -115,8 +115,8 @@ orbit = {
parent_index = 4 parent_index = 4
color = { r = 0.9, g = 0.9, b = 0.3 } color = { r = 0.9, g = 0.9, b = 0.3 }
orbit = { orbit = {
semi_major_axis = 4.217e8 semi_major_axis = 4.217e8,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -127,8 +127,8 @@ orbit = {
parent_index = 4 parent_index = 4
color = { r = 0.8, g = 0.8, b = 0.7 } color = { r = 0.8, g = 0.8, b = 0.7 }
orbit = { orbit = {
semi_major_axis = 6.709e8 semi_major_axis = 6.709e8,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -139,8 +139,8 @@ orbit = {
parent_index = 4 parent_index = 4
color = { r = 0.6, g = 0.6, b = 0.5 } color = { r = 0.6, g = 0.6, b = 0.5 }
orbit = { orbit = {
semi_major_axis = 1.070e9 semi_major_axis = 1.070e9,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -151,8 +151,8 @@ orbit = {
parent_index = 4 parent_index = 4
color = { r = 0.5, g = 0.5, b = 0.4 } color = { r = 0.5, g = 0.5, b = 0.4 }
orbit = { orbit = {
semi_major_axis = 1.883e9 semi_major_axis = 1.883e9,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -163,7 +163,7 @@ orbit = {
parent_index = 5 parent_index = 5
color = { r = 0.9, g = 0.6, b = 0.3 } color = { r = 0.9, g = 0.6, b = 0.3 }
orbit = { orbit = {
semi_major_axis = 1.222e9 semi_major_axis = 1.222e9,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }

12
tests/configs/spacecraft_test.toml

@ -9,8 +9,8 @@ radius = 6.96e8
parent_index = -1 parent_index = -1
color = { r = 1.0, g = 1.0, b = 0.0 } color = { r = 1.0, g = 1.0, b = 0.0 }
orbit = { orbit = {
semi_major_axis = 0.0 semi_major_axis = 0.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -21,8 +21,8 @@ radius = 6.371e6
parent_index = 0 parent_index = 0
color = { r = 0.0, g = 0.5, b = 1.0 } color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = { orbit = {
semi_major_axis = 1.496e11 semi_major_axis = 1.496e11,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }
@ -31,7 +31,7 @@ name = "LEO_Satellite"
mass = 1000.0 mass = 1000.0
parent_index = 1 parent_index = 1
orbit = { orbit = {
altitude = 400000.0 altitude = 400000.0,
eccentricity = 0.0 eccentricity = 0.0,
true_anomaly = 0.0 true_anomaly = 0.0
} }

Loading…
Cancel
Save