CoordinateAxis
- class wpimath.CoordinateAxis(x: SupportsFloat | SupportsIndex, y: SupportsFloat | SupportsIndex, z: SupportsFloat | SupportsIndex)
Bases:
pybind11_objectA class representing a coordinate system axis within the NWU coordinate system.
Constructs a coordinate system axis within the NWU coordinate system and normalizes it.
- Parameters:
x – The x component.
y – The y component.
z – The z component.
- static d() wpimath._wpimath.CoordinateAxis
Returns a coordinate axis corresponding to -Z in the NWU coordinate system.
- static e() wpimath._wpimath.CoordinateAxis
Returns a coordinate axis corresponding to -Y in the NWU coordinate system.
- static n() wpimath._wpimath.CoordinateAxis
Returns a coordinate axis corresponding to +X in the NWU coordinate system.
- static s() wpimath._wpimath.CoordinateAxis
Returns a coordinate axis corresponding to -X in the NWU coordinate system.
- static u() wpimath._wpimath.CoordinateAxis
Returns a coordinate axis corresponding to +Z in the NWU coordinate system.
- static w() wpimath._wpimath.CoordinateAxis
Returns a coordinate axis corresponding to +Y in the NWU coordinate system.