NumCpp  2.11.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
ECEFEulerToENURollPitchYaw.hpp
Go to the documentation of this file.
1 #pragma once
29 
34 
36 {
44  [[nodiscard]] inline Orientation ECEFEulerToENURollPitchYaw(const reference_frames::ECEF& location,
45  const Euler& orientation) noexcept
46  {
47  const auto nedOrientation = ECEFEulerToNEDRollPitchYaw(location, orientation);
48  return { nedOrientation.pitch, nedOrientation.roll, -nedOrientation.yaw };
49  }
50 } // namespace nc::coordinates::transforms
Euler.
Definition: Euler.hpp:40
Orientation.
Definition: Orientation.hpp:40
ECEF coordinates.
Definition: ECEF.hpp:40
Definition: AERtoECEF.hpp:38
Orientation ECEFEulerToNEDRollPitchYaw(const reference_frames::ECEF &location, const Euler &orientation) noexcept
Converts ECEF euler angles to body roll/pitch/yaw.
Definition: ECEFEulerToNEDRollPitchYaw.hpp:49
Orientation ECEFEulerToENURollPitchYaw(const reference_frames::ECEF &location, const Euler &orientation) noexcept
Converts ECEF euler angles to body roll/pitch/yaw.
Definition: ECEFEulerToENURollPitchYaw.hpp:44