use of edu.wpi.first.math.kinematics.ChassisSpeeds in project Pathfinder2 by Wobblyyyy.
the class TestCompareChassisSpeedsWithTranslation method compare.
private static void compare(double vx, double vy, double vz, Angle angle) {
ValidationUtils.validate(vx, "vx");
ValidationUtils.validate(vy, "vy");
ValidationUtils.validate(vz, "vz");
ValidationUtils.validate(angle, "angle");
ChassisSpeeds speeds = new ChassisSpeeds(vx, vy, vz);
Translation translation = new Translation(vx, vy, vz);
compare(speeds, translation, angle);
}
Aggregations