Does altitude matter for LatLonAltToXY? #82
-
I'm trying to send a vehicle to a particular spot by using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
How far off is it? There may be some small error in the projection math from a mismatch in assumed altitude, but I think it would be only up to a few meters. You can check where the lat/lon/alt readout in the sim UI sees the position and compare it to the values that were passed in to |
Beta Was this translation helpful? Give feedback.
-
That is odd; I got similar behavior! One thing is those coords are far outside of the search area (where obstacles show up). There may be a math error in the Coord / LatLonAlt math internally that doesn't show up when just operating around the search area. Seems like the LTV runs out of battery on the coords you see. The actual xy output of that code is |
Beta Was this translation helpful? Give feedback.
That is odd; I got similar behavior!
One thing is those coords are far outside of the search area (where obstacles show up). There may be a math error in the Coord / LatLonAlt math internally that doesn't show up when just operating around the search area.
Seems like the LTV runs out of battery on the coords you see. The actual xy output of that code is
-109487.55132688943, 275221.5652213214
(in meters). This is a significant portion of the moon's radius