74 static std::pair<double, double> computeDiffs(
const Point &ipoint,
const OdomState &istate);
83 static double computeDistance(
double xDiff,
double yDiff);
93 static double computeAngle(
double xDiff,
double yDiff,
double theta);
static QAngle constrainAngle180(const QAngle &angle)
Constraints the angle to [-180,180) degrees.
static QAngle constrainAngle360(const QAngle &angle)
Constraints the angle to [0,360] degrees.
static std::pair< QLength, QAngle > computeDistanceAndAngleToPoint(const Point &ipoint, const OdomState &istate)
Computes the distance and angle from the given Odometry state to the given point.
static QAngle computeAngleToPoint(const Point &ipoint, const OdomState &istate)
Computes the angle from the given Odometry state to the given point.
static QLength computeDistanceToPoint(const Point &ipoint, const OdomState &istate)
Computes the distance from the given Odometry state to the given point.