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.
 
 
 
 
 

48 lines
1.2 KiB

# Test Configuration: Spacecraft-to-Spacecraft Rendezvous
# Two spacecraft in circular, coplanar LEO orbits
# Chaser starts in higher orbit, performs CW-based rendezvous with target
# Tests the complete rendezvous workflow: CW validity, guidance calculation, execution
[[bodies]]
name = "Earth"
mass = 5.972e24
radius = 6.371e6
parent_index = -1
color = { r = 0.0, g = 0.5, b = 1.0 }
orbit = {
semi_major_axis = 0.0,
eccentricity = 0.0,
true_anomaly = 0.0
}
# ========== TARGET SPACECRAFT ==========
# Circular LEO orbit at 400 km altitude
# This is the spacecraft being rendezvoused with
[[spacecraft]]
name = "Target_Satellite"
mass = 500.0
parent_index = 0
orbit = {
semi_major_axis = 6.771e6,
eccentricity = 0.0,
true_anomaly = 0.0,
inclination = 0.0,
longitude_of_ascending_node = 0.0,
argument_of_periapsis = 0.0
}
# ========== CHASER SPACECRAFT ==========
# Circular LEO orbit at 450 km altitude (slightly higher)
# Will perform rendezvous with Target_Satellite
[[spacecraft]]
name = "Chaser_Satellite"
mass = 500.0
parent_index = 0
orbit = {
semi_major_axis = 6.821e6,
eccentricity = 0.0,
true_anomaly = 0.0,
inclination = 0.0,
longitude_of_ascending_node = 0.0,
argument_of_periapsis = 0.0
}