Go to the documentation of this file.
   50   Pose6D::Pose6D(
float x, 
float y, 
float z, 
double roll, 
double pitch, 
double yaw) :
 
   52     rotation(roll, pitch, yaw)
 
   59     translation(other.trans()),
 
   87     res = res + this->
trans();
 
  104     double dist_x = 
x() - other.
x();
 
  105     double dist_y = 
y() - other.
y();
 
  106     double dist_z = 
z() - other.
z();
 
  107     return sqrt(dist_x*dist_x + dist_y*dist_y + dist_z*dist_z);
 
  111     return sqrt(
x()*
x() + 
y()*
y() + 
z()*
z());
 
  121     return !(*
this == other);
 
  153     s << 
"(" << p.
x() << 
" " << p.
y() << 
" " << p.
z()
 
  154       << 
", " << p.
rot().
u() << 
" " << p.
rot().
x() << 
" " << p.
rot().
y() << 
" " << p.
rot().
z() << 
")";
 
  
const Pose6D & operator*=(const Pose6D &p)
In place concatenation.
bool operator==(const Pose6D &other) const
std::ostream & writeBinary(std::ostream &s) const
std::ostream & operator<<(std::ostream &s, const Pose6D &p)
user friendly output in format (x y z, u x y z) which is (translation, rotation)
Pose6D operator*(const Pose6D &p) const
Concatenation.
std::istream & read(std::istream &s)
std::ostream & writeBinary(std::ostream &s) const
std::ostream & write(std::ostream &s) const
Quaternion normalized() const
This class represents a three-dimensional vector.
Vector3 rotate(const Vector3 &v) const
Rotate a vector.
std::istream & read(std::istream &s)
Vector3 transform(const Vector3 &v) const
Transformation of a vector.
std::ostream & writeBinary(std::ostream &s) const
Binary output operator.
std::istream & readBinary(std::istream &s)
Binary input operator.
Quaternion inv() const
Inversion.
std::istream & readBinary(std::istream &s)
std::ostream & write(std::ostream &s) const
std::ostream & write(std::ostream &s) const
Output operator.
Quaternion & rot()
Rotational component.
Pose6D & inv_IP()
Inversion.
bool operator!=(const Pose6D &other) const
std::istream & readBinary(std::istream &s)
This class represents a tree-dimensional pose of an object.
Pose6D & operator=(const Pose6D &other)
double distance(const Pose6D &other) const
Translational distance.
std::istream & read(std::istream &s)
Input operator.
This class represents a Quaternion.
Pose6D inv() const
Inversion.
double transLength() const
Translational length.
Vector3 & trans()
Translational component.
octomap
Author(s): Kai M. Wurm 
, Armin Hornung 
autogenerated on Mon Apr 21 2025 02:39:48