32 m_axis = Eigen::Vector3d{{x / norm, y / norm, z / norm}};
74 Eigen::Vector3d m_axis;
#define WPILIB_DLLEXPORT
Definition SymbolExports.h:36
A class representing a coordinate system axis within the NWU coordinate system.
Definition CoordinateAxis.h:20
static constexpr CoordinateAxis D()
Returns a coordinate axis corresponding to -Z in the NWU coordinate system.
Definition CoordinateAxis.h:69
static constexpr CoordinateAxis N()
Returns a coordinate axis corresponding to +X in the NWU coordinate system.
Definition CoordinateAxis.h:44
static constexpr CoordinateAxis S()
Returns a coordinate axis corresponding to -X in the NWU coordinate system.
Definition CoordinateAxis.h:49
CoordinateAxis(const CoordinateAxis &)=default
static constexpr CoordinateAxis U()
Returns a coordinate axis corresponding to +Z in the NWU coordinate system.
Definition CoordinateAxis.h:64
CoordinateAxis(CoordinateAxis &&)=default
CoordinateAxis & operator=(CoordinateAxis &&)=default
constexpr CoordinateAxis(double x, double y, double z)
Constructs a coordinate system axis within the NWU coordinate system and normalizes it.
Definition CoordinateAxis.h:30
static constexpr CoordinateAxis E()
Returns a coordinate axis corresponding to -Y in the NWU coordinate system.
Definition CoordinateAxis.h:54
static constexpr CoordinateAxis W()
Returns a coordinate axis corresponding to +Y in the NWU coordinate system.
Definition CoordinateAxis.h:59
CoordinateAxis & operator=(const CoordinateAxis &)=default
A helper class that converts Pose3d objects between different standard coordinate frames.
Definition CoordinateSystem.h:20
constexpr common_return_t< T1, T2 > hypot(const T1 x, const T2 y) noexcept
Compile-time Pythagorean addition function.
Definition hypot.hpp:147