Point2D and Pose2D

Point2D

The Point2D class is used to store a two dimensional point. It contains two pieces of data:

  • LouLib::Units::Length x

    The x-position of the point

  • LouLib::Units::Length y

    The y-position of the point

The Point2D class contains a single contructor that requires both x and y.

The Point2D class also contains standard getters and setters for x and y.

Pose2D

The Pose2D class is used to store a two dimensional pose. It contains three pieces of data:

  • LouLib::Units::Length x

    The x-position of the pose

  • LouLib::Units::Length y

    The y-position of the pose

  • LouLib::Units::Angle theta

    The heading of the pose

The Pose2D class contains a single constructor that requires x, y, and theta.

The Pose2D class also contains standard getters and setters for x, y, and theta.