Package-level declarations

Types

Link copied to clipboard
@Serializable
@SerialName(value = "arc")
data class CircleTrajectory2D(val circle: Circle2D<Float64>, val arcStart: Angle, val arcAngle: Angle) : Trajectory2D

An arc segment

Link copied to clipboard
@Serializable
@SerialName(value = "composite")
class CompositeTrajectory2D(val segments: List<Trajectory2D>) : Trajectory2D
Link copied to clipboard
object DubinsPath
Link copied to clipboard
fun interface MaxCurvature
Link copied to clipboard
interface Obstacle
Link copied to clipboard
class Obstacles(val obstacles: List<Obstacle>)
Link copied to clipboard
Link copied to clipboard
@Serializable
class PhaseVector2D(val coordinates: Vector2D<Float64>, val velocity: Vector2D<Float64>) : Pose2D, Vector2D<Float64>
Link copied to clipboard
@Serializable(with = Pose2DSerializer::class)
interface Pose2D : Vector2D<Float64>

Combination of Vector and its view angle (clockwise from positive y-axis direction)

Link copied to clipboard
object Pose2DSerializer : KSerializer<Pose2D>
Link copied to clipboard
@Serializable
@SerialName(value = "straight")
data class StraightTrajectory2D(val begin: Vector2D<Float64>, val end: Vector2D<Float64>) : Trajectory2D, LineSegment<Vector2D<Float64>>

Straight path segment. The order of start and end defines the direction

Link copied to clipboard
@Serializable
sealed interface Trajectory2D

Properties

Link copied to clipboard
val Vector2D<Float64>.bearing: Angle

Functions

Link copied to clipboard
fun CircleTrajectory2D(circle: Circle2D<Float64>, beginPose: Pose2D, endPose: Pose2D): CircleTrajectory2D
fun CircleTrajectory2D(center: Vector2D<Float64>, start: Vector2D<Float64>, end: Vector2D<Float64>, direction: Trajectory2D.Direction): CircleTrajectory2D
fun CircleTrajectory2D(circle: Circle2D<Float64>, start: Vector2D<Float64>, end: Vector2D<Float64>, direction: Trajectory2D.Direction): CircleTrajectory2D
Link copied to clipboard

Create an obstacle circumvention in given direction starting (including) from obstacle node with given fromIndex

Create an obstacle circumvention in given direction starting (including) from obstacle node with given fromIndex and ending (including) at obstacle node with given toIndex

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Obstacle(vararg circles: Circle2D<Float64>): Obstacle
fun Obstacle(circles: List<Circle2D<Float64>>): Obstacle
fun Obstacle(points: List<Vector2D<Double>>, radius: Double): Obstacle
Link copied to clipboard
fun Pose2D(coordinate: Vector2D<Float64>, bearing: Angle): Pose2D
fun Pose2D(point: Vector2D<Float64>, direction: Vector2D<Float64>): Pose2D
fun Pose2D(x: Number, y: Number, bearing: Angle): Pose2D
Link copied to clipboard
Link copied to clipboard
fun StraightTrajectory2D(segment: LineSegment2D): StraightTrajectory2D