From 8c58f2220e6342e6c8e4e0238f00402e54b74d76 Mon Sep 17 00:00:00 2001 From: march3 Date: Mon, 24 Apr 2023 21:46:22 +0800 Subject: [PATCH] =?UTF-8?q?Python=E8=B6=85=E4=BA=BA-=E5=AE=87=E5=AE=99?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sim_lab/lagrangian_points_2.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sim_lab/lagrangian_points_2.py b/sim_lab/lagrangian_points_2.py index ff82a57..d8779f6 100644 --- a/sim_lab/lagrangian_points_2.py +++ b/sim_lab/lagrangian_points_2.py @@ -159,7 +159,8 @@ if __name__ == '__main__': points = get_lagrangian_points(earth.mass, moon.mass, 363104) offset_points = [ - [0, 0, 3301.05], # TODO:调整 + [0, 0, 3301.0505], # TODO:调整 + # [0, 0, 3299], # TODO:调整 3299 [0, 0, 0], [0, 0, 0], [0, 0, 0], @@ -179,10 +180,13 @@ if __name__ == '__main__': ] velocities = [] for i in range(10): - v = round(-0.890205 - (i / 1000000), 20) # TODO:调整 + v = round(-0.890211 - (i / 10000000), 20) # TODO:调整 + # TODO: v = -0.8902112 print(v) velocities.append([v, 0, 0]) + # + # satellites = [] for i, point in enumerate(points[0:1]): for j, velocitie in enumerate(velocities): -- GitLab