rpos::core::Rotation Class
Represents object's rotational attitude in 3D space (in rad)
Header File
rpos/core/pose.h
Applies to
- Slamware
- Mapper
Constructors
Rotation()
Construct a Rotation
object with yaw
, pitch
, and roll
all set to zero.
Rotation(double yaw, double pitch, double roll)
Construct a Rotation
object
Rotation(const Rotation&)
Copy constructor
Operators
Rotation& operator=(const Rotation&)
Assignment operator
bool operator==(const Rotation&) const;
Equals to operator
Methods
double yaw() const; double& yaw()
Yaw (unit: rad), follows Tait-Bryan angles rules, please refer to Wikipedia for details
double pitch() const;double& pitch()
Pitch
double roll() const, double& roll()
Roll