#include <pose.hpp>
|
| | Pose (double ix, double iy, double iyaw) |
| | Specifies a point and heading in 2D space.
|
| |
| | Pose ()=default |
| |
| double | dist (const Pose &other) const |
| | Calculates the Euclidean distance between this pose and another.
|
| |
| std::string | to_string () const |
| | Serializes the Pose data for debugging.
|
| |
| std::string | to_csv () const |
| |
| bool | operator== (const Pose &other) const |
| |
|
| double | x |
| |
| double | y |
| |
| double | yaw |
| |
Definition at line 16 of file pose.hpp.
◆ Pose() [1/2]
| squiggles::Pose::Pose |
( |
double |
ix, |
|
|
double |
iy, |
|
|
double |
iyaw |
|
) |
| |
|
inline |
Specifies a point and heading in 2D space.
- Parameters
-
| ix | The x position of the point in meters. |
| iy | The y position of the point in meters. |
| iyaw | The heading at the point in radians. |
Definition at line 25 of file pose.hpp.
◆ Pose() [2/2]
| squiggles::Pose::Pose |
( |
| ) |
|
|
default |
◆ dist()
| double squiggles::Pose::dist |
( |
const Pose & |
other | ) |
const |
|
inline |
Calculates the Euclidean distance between this pose and another.
- Parameters
-
| other | The point from which the distance will be calculated. |
- Returns
- The distance between this pose and Other.
Definition at line 36 of file pose.hpp.
◆ operator==()
| bool squiggles::Pose::operator== |
( |
const Pose & |
other | ) |
const |
|
inline |
◆ to_csv()
| std::string squiggles::Pose::to_csv |
( |
| ) |
const |
|
inline |
◆ to_string()
| std::string squiggles::Pose::to_string |
( |
| ) |
const |
|
inline |
Serializes the Pose data for debugging.
- Returns
- The Pose data.
Definition at line 46 of file pose.hpp.
| double squiggles::Pose::x |
| double squiggles::Pose::y |
◆ yaw
| double squiggles::Pose::yaw |
The documentation for this class was generated from the following file:
- include/okapi/squiggles/geometry/pose.hpp