MCPcopy Create free account
hub / github.com/SpaceNetLab/StarryNet / sn_get_right_satellite

Function sn_get_right_satellite

starrynet/sn_orchestrater.py:12–16  ·  view source on GitHub ↗
(current_sat_id, current_orbit_id, orbit_num)

Source from the content-addressed store, hash-verified

10
11
12def sn_get_right_satellite(current_sat_id, current_orbit_id, orbit_num):
13 if current_orbit_id == orbit_num - 1:
14 return [current_sat_id, 0]
15 else:
16 return [current_sat_id, current_orbit_id + 1]
17
18
19def sn_get_down_satellite(current_sat_id, current_orbit_id, sat_num):

Callers 1

sn_ISL_establishFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected