core / com.acmerobotics.roadrunner.trajectory.constraints / TankVelocityConstraint / get

get

open fun get(s: Double, pose: Pose2d, deriv: Pose2d, baseRobotVel: Pose2d): Double (source)

Returns the maximum profile velocity.

Parameters

s - path displacement

pose - pose

deriv - pose derivative

baseRobotVel - additive base velocity