BoB robotics
The Brains on Board robotics library
BoBRobotics::Pose3< LengthUnit, AngleUnit > Class Template Reference

A three-dimensional pose. More...

#include <pose.h>

Inheritance diagram for BoBRobotics::Pose3< LengthUnit, AngleUnit >:
BoBRobotics::PoseBase< Pose3< LengthUnit, AngleUnit > >

Public Member Functions

constexpr Pose3 (const Vector3< LengthUnit > &position, const std::array< AngleUnit, 3 > &attitude)
 
Vector3< LengthUnit > & position ()
 
const Vector3< LengthUnit > & position () const
 
LengthUnit & x ()
 
const LengthUnit & x () const
 
LengthUnit & y ()
 
const LengthUnit & y () const
 
LengthUnit & z ()
 
const LengthUnit & z () const
 
std::array< AngleUnit, 3 > & attitude ()
 
const std::array< AngleUnit, 3 > & attitude () const
 
AngleUnit & yaw ()
 
const AngleUnit & yaw () const
 
AngleUnit & pitch ()
 
const AngleUnit & pitch () const
 
AngleUnit & roll ()
 
const AngleUnit & roll () const
 
- Public Member Functions inherited from BoBRobotics::PoseBase< Pose3< LengthUnit, AngleUnit > >
bool operator== (const PoseType &pose) const
 
bool operator!= (const PoseType &pose) const
 
 operator Vector2< LengthUnit2 > () const
 
 operator Vector3< LengthUnit2 > () const
 
 operator Pose2< LengthUnit2, AngleUnit2 > () const
 
 operator Pose3< LengthUnit2, AngleUnit2 > () const
 
auto distance2D (const PositionType &point) const
 
auto distance3D (const PositionType &point) const
 

Static Public Member Functions

static constexpr Pose3< LengthUnit, AngleUnit > nan ()
 

Detailed Description

template<typename LengthUnit, typename AngleUnit>
class BoBRobotics::Pose3< LengthUnit, AngleUnit >

A three-dimensional pose.


The documentation for this class was generated from the following file: