Encapsulates a position and rotation in three space.
More...
#include <Types.hh>
Encapsulates a position and rotation in three space.
- Deprecated:
- Use ignition::math::Pose3d
Constructor.
- Parameters
-
[in] | _pos | A position |
[in] | _rot | A rotation |
sdf::Pose::Pose |
( |
double |
_x, |
|
|
double |
_y, |
|
|
double |
_z, |
|
|
double |
_roll, |
|
|
double |
_pitch, |
|
|
double |
_yaw |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | _x | x position in meters. |
[in] | _y | y position in meters. |
[in] | _z | z position in meters. |
[in] | _roll | Roll (rotation about X-axis) in radians. |
[in] | _pitch | Pitch (rotation about y-axis) in radians. |
[in] | _yaw | Yaw (rotation about z-axis) in radians. |
Vector3 sdf::Pose::CoordPositionAdd |
( |
const Pose & |
_pose | ) |
const |
|
inline |
Pose sdf::Pose::operator* |
( |
const Pose & |
pose | ) |
|
|
inline |
Multiplication operator.
- Parameters
-
- Returns
- itself
References rot.
bool sdf::Pose::operator== |
( |
const Pose & |
_pose | ) |
const |
|
inline |
Equality operator.
- Parameters
-
[in] | _pose | Pose for comparison |
- Returns
- True if equal
References pos, and rot.
std::ostream& operator<< |
( |
std::ostream & |
_out, |
|
|
const Pose & |
_pose |
|
) |
| |
|
friend |
Stream insertion operator.
- Parameters
-
out | output stream |
pose | pose to output |
- Returns
- the stream
std::istream& operator>> |
( |
std::istream & |
_in, |
|
|
Pose & |
_pose |
|
) |
| |
|
friend |
Stream extraction operator.
- Parameters
-
[in] | _in | the input stream |
[in] | _pose | the pose |
- Returns
- the stream
The documentation for this class was generated from the following file: