Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SpaceStation Tracking #1

Open
goetsche101 opened this issue Jan 21, 2022 · 0 comments
Open

SpaceStation Tracking #1

goetsche101 opened this issue Jan 21, 2022 · 0 comments

Comments

@goetsche101
Copy link

goetsche101 commented Jan 21, 2022

I played around with this for an hour or so, and could not get the numbers to line up with data from
https://www.n2yo.com/?s=25544
https://spotthestation.nasa.gov/tracking_map.cfm
Both of these sites agree on position.

I used this information:
const String name = "Space Station";
const String line1 =
"1 25544U 98067A 22021.57497024 .00045667 00000-0 81365-3 0 9998";
const String line2 =
"2 25544 51.6437 342.6425 0007051 40.5873 110.0531 15.49622456322444";

final Site myLocation = Site.fromLatLngAlt(23.1359405517578, -82.3583297729492, 59 / 1000.0);

For me, the get utc time in Julian day was off by 1 day.
final Eci eciPos = orbit
.getPosition(((utcTime + 1) - orbit.epoch().getDate()) * MIN_PER_DAY);

Simply adding 1 day to the utcTime seemed to produce the correct result.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant