integrateToVel

fun integrateToVel(dt: Double, initial: PoseVelocity2d = PoseVelocity2d.zero): PoseVelocity2d

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

Parameters

initial

initial velocity; default is 0.