struct

Robotics::SpatialReasoning::Orientation

Inherits Struct < Value < Object

3D orientation using Euler angles (radians)

Constructors

new(roll : Float64 = 0.0, pitch : Float64 = 0.0, yaw : Float64 = 0.0)

Instance methods

pitch
roll
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

yaw