urdf::Rotation Class Reference
#include <pose.h>
List of all members.
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 () |
Vector3 | operator* (Vector3 vec) const |
| Rotate a vector using the quaternion.
|
Rotation | operator* (const Rotation &qt) const |
| Rotation () |
| Rotation (double _x, double _y, double _z, double _w) |
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 |
Detailed Description
Definition at line 98 of file pose.h.
Constructor & Destructor Documentation
urdf::Rotation::Rotation |
( |
double |
_x, |
|
|
double |
_y, |
|
|
double |
_z, |
|
|
double |
_w | |
|
) |
| | [inline] |
urdf::Rotation::Rotation |
( |
|
) |
[inline] |
Member Function Documentation
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] |
Rotate a vector using the quaternion.
Definition at line 207 of file pose.h.
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] |
Member Data Documentation
The documentation for this class was generated from the following file: