vibe coding an orbital mechanics simulation to try out claude code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

41 lines
988 B

# Test Configuration: Maneuver Sequence
# Sun + Earth + LEO Satellite with scheduled burns
# Tests time-based and true anomaly-based maneuver triggers
[[bodies]]
name = "Sun"
mass = 1.989e30
radius = 6.96e8
parent_index = -1
color = {r = 1.0, g = 1.0, b = 0.0}
orbit = {semi_major_axis = 0.0, eccentricity = 0.0, true_anomaly = 0.0}
[[bodies]]
name = "Earth"
mass = 5.972e24
radius = 6.371e6
parent_index = 0
color = {r = 0.0, g = 0.5, b = 1.0}
orbit = {semi_major_axis = 1.496e11, eccentricity = 0.0, true_anomaly = 0.0}
[[spacecraft]]
name = "LEO_Satellite"
mass = 1000.0
parent_index = 1
orbit = {semi_major_axis = 6.771e6, eccentricity = 0.0, true_anomaly = 1.57}
[[maneuvers]]
name = "orbit_raise_1"
spacecraft_name = "LEO_Satellite"
trigger_type = "time"
trigger_value = 3600.0
direction = "prograde"
delta_v = 500.0
[[maneuvers]]
name = "orbit_raise_2"
spacecraft_name = "LEO_Satellite"
trigger_type = "true_anomaly"
trigger_value = 0.0
direction = "prograde"
delta_v = 500.0