![]() |
BoB robotics
The Brains on Board robotics library
|
A two-dimensional pose. More...
#include <pose.h>
Public Member Functions | |
constexpr | Pose2 (LengthUnit x, LengthUnit y, AngleUnit angle) |
Vector2< LengthUnit > & | position () |
const Vector2< LengthUnit > & | position () const |
LengthUnit & | x () |
const LengthUnit & | x () const |
LengthUnit & | y () |
const LengthUnit & | y () const |
std::array< AngleUnit, 3 > | attitude () const |
AngleUnit & | yaw () |
const AngleUnit & | yaw () const |
![]() | |
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 LengthUnit | z () |
static constexpr AngleUnit | pitch () |
static constexpr AngleUnit | roll () |
static constexpr Pose2< LengthUnit, AngleUnit > | nan () |
A two-dimensional pose.