1#ifndef J_CURVATURE_DRIVE_H
2#define J_CURVATURE_DRIVE_H
24 if (curvatureEnabled) {
25 float speed = sqrt(sq(input.
x) + sq(input.
y));
26 output.
theta = output.
theta * speed / minRadius;
Cheezy Drive! https://frc1756-argos.github.io/ArgoBot-Drive-Training/tutorials/4/#c.
Definition JCurvatureDrive.h:9
JTwoDTransform calculate(bool curvatureEnabled, JTwoDTransform input, float minRadius, bool reverseTurning=false)
Definition JCurvatureDrive.h:19