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

Method do_get_position

starrynet/cli.py:162–167  ·  view source on GitHub ↗

list the LLA of a node at a certain time

(self, line)

Source from the content-addressed store, hash-verified

160 output("The connected GS(es) is(are): " + str(GSes) + ".\n")
161
162 def do_get_position(self, line):
163 "list the LLA of a node at a certain time"
164 arg, args, line = self.parseline(line)
165 rest = line.split(' ')
166 LLA = self.sn.get_position(int(rest[0]), int(rest[1]))
167 output("The LLA is: " + str(LLA))
168
169 def do_get_IP(self, line):
170 "list the IP of a node"

Callers

nothing calls this directly

Calls 1

get_positionMethod · 0.80

Tested by

no test coverage detected