Acceleration2d

@Serializable
data class Acceleration2d(val linearAcc: Vector2d, val angAcc: Double)

Constructors

Link copied to clipboard
constructor(linearAcc: Vector2d, angAcc: Double)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun integrateToVel(dt: Double, initial: PoseVelocity2d = PoseVelocity2d.zero): PoseVelocity2d

Uses kinematic integration to compute a new velocity given a time step and initial velocity.