enu2aer#
- ahrs.common.frames.enu2aer(east: float, north: float, up: float, deg: bool = True) ndarray#
Transform the local east-north-up (ENU) Cartesian coordinates specified by
east,north, andupto the local azimuth-elevation-range (AER) Spherical coordinates [SHHS20].- Parameters:
east (float) – X-coordinate of a point in the local ENU system.
north (float) – Y-coordinate of a point in the local ENU system.
up (float) – Z-coordinate of a point in the local ENU system.
deg (bool, default: True) – If True, angles are returned in degrees. Otherwise, they are in radians.
- Returns:
aer – AER spherical coordinates [azimuth, elevation, slant_range].
- Return type:
numpy.ndarray