#include <odomMath.hpp>
Definition at line 14 of file odomMath.hpp.
◆ computeAngleToPoint()
| static QAngle okapi::OdomMath::computeAngleToPoint |
( |
const Point & |
ipoint, |
|
|
const OdomState & |
istate |
|
) |
| |
|
static |
◆ computeDistanceAndAngleToPoint()
| static std::pair< QLength, QAngle > okapi::OdomMath::computeDistanceAndAngleToPoint |
( |
const Point & |
ipoint, |
|
|
const OdomState & |
istate |
|
) |
| |
|
static |
◆ computeDistanceToPoint()
| static QLength okapi::OdomMath::computeDistanceToPoint |
( |
const Point & |
ipoint, |
|
|
const OdomState & |
istate |
|
) |
| |
|
static |
◆ constrainAngle180()
| static QAngle okapi::OdomMath::constrainAngle180 |
( |
const QAngle & |
angle | ) |
|
|
static |
Constraints the angle to [-180,180) degrees.
- Parameters
-
- Returns
- The angle normalized to [-180,180) degrees.
◆ constrainAngle360()
| static QAngle okapi::OdomMath::constrainAngle360 |
( |
const QAngle & |
angle | ) |
|
|
static |
Constraints the angle to [0,360] degrees.
- Parameters
-
- Returns
- The angle normalized to [0,360] degrees.
The documentation for this class was generated from the following file: