ulugeyik
Posts: 8
Joined: Wed Feb 21, 2018 1:01 pm

ISS location discrepancy

Fri Feb 04, 2022 2:24 pm

I am using the example in the phase 2 guide to get the current ISS location on the flightOS. Here is the simplified code:

Code: Select all

from orbit import ISS #to find where ISS is.
point = ISS.coordinates()
print(point.latitude.degrees)
print(point.longitude.degrees)
However, when I compare these to any of the online trackers (ESA, NASA etc) , for example https://www.astroviewer.net/iss/en/, it is off by many degrees. Mostly getting the hemisphere right.

If do the same on another computer (Ubuntu), it works just fine.

flightOS + the kit we have received does not keep time well. I manually change the time on the shell so I think this is the culprit. I can not detect any difference when I stare at the output of the "date" command though.

I would like to avoid this issue when our team's programme runs on the ISS. I suppose it should be a problem but is there a "fool proof" way of doing this?

gordon77
Posts: 7555
Joined: Sun Aug 05, 2012 3:12 pm

Re: ISS location discrepancy

Fri Feb 04, 2022 3:39 pm

Is the time correct on your pi ?

ulugeyik
Posts: 8
Joined: Wed Feb 21, 2018 1:01 pm

Re: ISS location discrepancy

Fri Feb 04, 2022 7:26 pm

Yes, the date, time and timezone are correct. However, I had to do it manually. It is not picking it up from NTP servers,

raulconm
Posts: 1
Joined: Wed Feb 23, 2022 9:41 am

Re: ISS location discrepancy

Wed Feb 23, 2022 9:46 am

I do agree, there is always an important difference between the lat and long in the web trackers and the data obtained by the ISS.at() function. I'm going to investigate it. Please, share with us for findings, I'll do the same. Thank you.

Raul

Return to “Astro Pi”