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

Function get_right_satellite

starrynet/sn_utils.py:34–38  ·  view source on GitHub ↗
(current_sat_id, current_orbit_id, orbit_num)

Source from the content-addressed store, hash-verified

32
33
34def get_right_satellite(current_sat_id, current_orbit_id, orbit_num):
35 if current_orbit_id == orbit_num - 1:
36 return [current_sat_id, 0]
37 else:
38 return [current_sat_id, current_orbit_id + 1]
39
40
41def get_down_satellite(current_sat_id, current_orbit_id, sat_num):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected