Geometry
Defines useful conversion methods for RoadRunner geometry types, restoring some removed methods from RoadRunner v0.5.
This class was created for migration purposes between RoadRunner v0.5 and v1.0, where new types were introduced and some methods removed, but these methods are still useful within BunyipsLib.
Author
Lucas Bubner, 2024
Since
6.0.0
Functions
Compare two poses with an epsilon value plus a renormalisation of heading.
Create a vector in the desired units to be converted to a conventional Inches unit.
Move a rotation towards another rotation by a step size.
Move a vector towards another vector by a step size.
Move a pose towards another pose by a step size.
Smoothly damp a pose towards another pose. Velocity will be in degrees per second.
Smoothly damp a rotation towards another rotation. Velocity will be in degrees per second.
Smoothly damp a vector towards another vector.
Returns a user-friendly representation of a Pose2d.