feat: 初始化提交

This commit is contained in:
2026-01-30 18:50:52 +08:00
commit e251d681ab
15 changed files with 1831 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import krpc
conn = krpc.connect(name='Hover Guidance V5')
if not conn.space_center:
print("No active vessel found.")
exit()
vessel = conn.space_center.active_vessel
flight = vessel.flight(vessel.surface_reference_frame)
lat = flight.latitude
lon = flight.longitude
print(f"当前位置:纬度 {lat},经度 {lon}")