robotToWheelAccelerations

public final static List<Double> robotToWheelAccelerations(Pose2d robotAccel, Double trackWidth)

Computes the wheel accelerations corresponding to robotAccel given trackWidth.

Parameters

robotAccel

velocity of the robot in its reference frame

trackWidth

lateral distance between pairs of wheels on different sides of the robot