PathPoint

data class PathPoint(val x: Double, val y: Double, val heading: Double? = null)

Data class for Pure Pursuit

Parameters

x

field x coordinate for a point

y

field y coordinate for a point

heading

field heading coordinate that we want to end at (optional)

Constructors

Link copied to clipboard
constructor(x: Double, y: Double, heading: Double? = null)

Properties

Link copied to clipboard
val heading: Double? = null
Link copied to clipboard
val x: Double
Link copied to clipboard
val y: Double