spacebook: linewidth
This commit is contained in:
parent
04a39a4d4c
commit
cbfcadb0bd
|
@ -66,7 +66,8 @@ for _ in range(5):
|
|||
index_guesses = []
|
||||
for star in unknown_stars:
|
||||
v = attitude.apply(star['v'])
|
||||
index_guesses.append(np.argmin([np.linalg.norm(catalog_star['v'] - v) for catalog_star in catalog]))
|
||||
index_guesses.append(np.argmin([np.linalg.norm(catalog_star['v'] - v)
|
||||
for catalog_star in catalog]))
|
||||
|
||||
r.send(','.join(map(str, index_guesses))+'\n')
|
||||
r.recvuntil('Left...\n')
|
||||
|
|
|
@ -38,7 +38,7 @@ def orient(ref, catalog):
|
|||
print(f'[+] aligned; rmsd = {rmsd}')
|
||||
return rot
|
||||
|
||||
TICKET = 'ticket{golf56788echo:GC_k-MZGAfTKMu0NDrCfBq2vYcpBpr5MuWKIFWJU3xOm2B_YAUF-EUiGswBD9NJ5Mw}'
|
||||
TICKET = 'THE_TICKET'
|
||||
r = tubes.remote.remote('spacebook.satellitesabove.me', 5015)
|
||||
r.send(TICKET+'\n')
|
||||
time.sleep(0.5)
|
||||
|
@ -55,7 +55,8 @@ for _ in range(5):
|
|||
index_guesses = []
|
||||
for star in unknown_stars:
|
||||
v = attitude.apply(star['v'])
|
||||
index_guesses.append(np.argmin([np.linalg.norm(catalog_star['v'] - v) for catalog_star in catalog]))
|
||||
index_guesses.append(np.argmin([np.linalg.norm(catalog_star['v'] - v)
|
||||
for catalog_star in catalog]))
|
||||
|
||||
r.send(','.join(map(str, index_guesses))+'\n')
|
||||
r.recvuntil('Left...\n')
|
||||
|
|
Loading…
Reference in New Issue