You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: