Pose3d Class Reference
[Server]
#include <Pose3d.hh>
Detailed Description
Pose3d encapsulates a position and rotation in three spacePublic Member Functions | |
Pose3d () | |
Pose3d (const Vector3 &pos, const Quatern &rot) | |
Pose3d (const Pose3d &pose) | |
virtual | ~Pose3d () |
bool | IsFinite () const |
Pose3d | operator+ (const Pose3d &pose) const |
const Pose3d & | operator+= (const Pose3d &pose) |
Pose3d | operator- (const Pose3d &pose) const |
const Pose3d & | operator-= (const Pose3d &pose) |
Vector3 | CoordPositionAdd (const Vector3 &pos) const |
Vector3 | CoordPositionAdd (const Pose3d &pose) const |
Vector3 | CoordPositionSub (const Pose3d &pose) const |
Quatern | CoordRotationAdd (const Quatern &rot) const |
Quatern | CoordRotationSub (const Quatern &rot) const |
Pose3d | CoordPoseSolve (const Pose3d &b) const |
void | Reset () |
Public Attributes | |
Vector3 | pos |
Quatern | rot |
Friends | |
std::ostream & | operator<< (std::ostream &out, const gazebo::Pose3d &pose) |
Constructor & Destructor Documentation
Pose3d | ( | ) |
Default constructors
Constructor
- Parameters:
-
pos A position rot A rotation
virtual ~Pose3d | ( | ) | [virtual] |
Destructor
Member Function Documentation
bool IsFinite | ( | ) | const |
See if a pose is finite (e.g., not nan)
Add one point to a vector: result = this + pos
- Parameters:
-
pos Position to add to this pose
- Returns:
- The resulting position
Add one point to another: result = this + pose
- Parameters:
-
pose The Pose to add
- Returns:
- The resulting position
Subtract one position from another: result = this - pose
- Parameters:
-
pose Pose to subtract
- Returns:
- The resulting position
Add one rotation to another: result = this->rot + rot
- Parameters:
-
rot Rotation to add
- Returns:
- The resulting rotation
Subtract one rotation from another: result = this->rot - rot
- Parameters:
-
rot The rotation to subtract
- Returns:
- The resulting rotation
Find the inverse of a pose; i.e., if b = this + a, given b and this, find a
void Reset | ( | ) |
Reset the pose
Friends And Related Function Documentation
std::ostream& operator<< | ( | std::ostream & | out, | |
const gazebo::Pose3d & | pose | |||
) | [friend] |
Member Data Documentation
The documentation for this class was generated from the following file: