We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Invoking geodetic2aer using the following code: `import pymap3d as pm lat1 = 45.977 lon1 = 7.658 h1 = 4531 lat0 = 46.017 lon0 = 7.750 h0 = 1673
a,e,r = pm.geodetic2aer(lat1,lon1,h1,lat0,lon0,h0) print ("A=%f E=%f R=%f" % (a,e,r)) ` Output A=238.075833 E=-7134.628771 R=8876.843346
It should be (please don't take int account different floating point precision) A=238.08 E=18.744 R= 8876.8
as you can check here https://it.mathworks.com/help/map/ref/geodetic2aer.html
The text was updated successfully, but these errors were encountered:
Sorry it was late at night...it was my fault it was printing the wrong output because on the test file i have something like that
x,y,z = pm.geodetic2ecef(lat1,lon1,h1,ellipsoid) a,e,r = pm.geodetic2aer(lat1,lon1,h1,lat0,lon0,h0,ellipsoid) e,n,u = pm.ecef2enu(x,y,z,lat0,lon0,h0,ellipsoid)
and of course printing e....was the one of ecef2enu.... I'm really sorry for that
Sorry, something went wrong.
No branches or pull requests
Invoking geodetic2aer using the following code:
`import pymap3d as pm
lat1 = 45.977
lon1 = 7.658
h1 = 4531
lat0 = 46.017
lon0 = 7.750
h0 = 1673
a,e,r = pm.geodetic2aer(lat1,lon1,h1,lat0,lon0,h0)
print ("A=%f E=%f R=%f" % (a,e,r))
`
Output
A=238.075833 E=-7134.628771 R=8876.843346
It should be (please don't take int account different floating point precision)
A=238.08 E=18.744 R= 8876.8
as you can check here https://it.mathworks.com/help/map/ref/geodetic2aer.html
The text was updated successfully, but these errors were encountered: