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

Method get_position

starrynet/sn_synchronizer.py:176–180  ·  view source on GitHub ↗
(self, sat_index, time_index)

Source from the content-addressed store, hash-verified

174 self.utility_checking_time.append(time_index)
175
176 def get_position(self, sat_index, time_index):
177 path = self.configuration_file_path + "/" + self.file_path + '/position/' + '/%d.txt' % time_index
178 f = open(path)
179 ADJ = f.readlines()
180 return ADJ[sat_index - 1]
181
182 def get_IP(self, sat_index):
183 IP_info = sn_remote_cmd(

Callers 2

example.pyFile · 0.80
do_get_positionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected