#include <pose.h>
Public Member Functions | |
void | clear () |
Rotation | GetInverse () const |
void | getQuaternion (double &quat_x, double &quat_y, double &quat_z, double &quat_w) const |
void | getRPY (double &roll, double &pitch, double &yaw) const |
bool | init (const std::string &rotation_str) |
void | normalize () |
Rotation | operator* (const Rotation &qt) const |
Vector3 | operator* (Vector3 vec) const |
Rotate a vector using the quaternion. | |
Rotation (double _x, double _y, double _z, double _w) | |
Rotation () | |
void | setFromQuaternion (double quat_x, double quat_y, double quat_z, double quat_w) |
void | setFromRPY (double roll, double pitch, double yaw) |
Public Attributes | |
double | w |
double | x |
double | y |
double | z |
urdf::Rotation::Rotation | ( | double | _x, |
double | _y, | ||
double | _z, | ||
double | _w | ||
) | [inline] |
urdf::Rotation::Rotation | ( | ) | [inline] |
void urdf::Rotation::clear | ( | ) | [inline] |
Rotation urdf::Rotation::GetInverse | ( | ) | const [inline] |
void urdf::Rotation::getQuaternion | ( | double & | quat_x, |
double & | quat_y, | ||
double & | quat_z, | ||
double & | quat_w | ||
) | const [inline] |
void urdf::Rotation::getRPY | ( | double & | roll, |
double & | pitch, | ||
double & | yaw | ||
) | const [inline] |
bool urdf::Rotation::init | ( | const std::string & | rotation_str | ) | [inline] |
void urdf::Rotation::normalize | ( | ) | [inline] |
void urdf::Rotation::setFromQuaternion | ( | double | quat_x, |
double | quat_y, | ||
double | quat_z, | ||
double | quat_w | ||
) | [inline] |
void urdf::Rotation::setFromRPY | ( | double | roll, |
double | pitch, | ||
double | yaw | ||
) | [inline] |
double urdf::Rotation::w |
double urdf::Rotation::x |
double urdf::Rotation::y |
double urdf::Rotation::z |