Class Pose

Class Documentation

class squiggles::Pose

Public Functions

inline Pose(double ix, double iy, double iyaw)

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.

Pose() = default
inline double dist(const Pose &other) const

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.

inline std::string to_string() const

Serializes the Pose data for debugging.

Returns

The Pose data.

inline std::string to_csv() const
inline bool operator==(const Pose &other) const

Public Members

double x
double y
double yaw