Class Pose

Class Documentation

class squiggles::Pose

Public Functions

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
double dist(const Pose &other) const

Calculates the Euclidean distance between this pose and another.

Return

The distance between this pose and Other.

Parameters
  • other: The point from which the distance will be calculated.

std::string to_string() const

Serializes the Pose data for debugging.

Return

The Pose data.

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

Public Members

double x
double y
double yaw