Package-level declarations

Useful geometry classes

Types

Link copied to clipboard
@Serializable(with = AngleSerializer::class)
data class Angle @JvmOverloads constructor(val value: Double = 0.0, val units: AngleUnit) : Comparable<Angle>

Class for representing angles.

Link copied to clipboard

A class representing different angle units.

Link copied to clipboard
@Serializable
data class Pose2d @JvmOverloads constructor(val x: Double = 0.0, val y: Double = 0.0, val heading: Angle = 0.rad)

Class for representing 2D robot poses (x, y, and heading) and their derivatives.

Link copied to clipboard
@Serializable
data class Vector2d @JvmOverloads constructor(val x: Double = 0.0, val y: Double = 0.0)

Class for representing 2D vectors (x and y).