JMotor
Loading...
Searching...
No Matches
Functions
JCurvatureDrive Namespace Reference

Cheezy Drive! https://frc1756-argos.github.io/ArgoBot-Drive-Training/tutorials/4/#c. More...

Functions

JTwoDTransform calculate (bool curvatureEnabled, JTwoDTransform input, float minRadius, bool reverseTurning=false)
 

Detailed Description

Cheezy Drive! https://frc1756-argos.github.io/ArgoBot-Drive-Training/tutorials/4/#c.

Function Documentation

◆ calculate()

JTwoDTransform JCurvatureDrive::calculate ( bool  curvatureEnabled,
JTwoDTransform  input,
float  minRadius,
bool  reverseTurning = false 
)
inline
Note
call with JCurvatureDrive::calculate()
Parameters
curvatureEnabledtrue = use "cheezy" drive, false = pass values through with no changes
input(JTwoDTransform)
minRadiussmaller = allow tighter turns in curvature mode
reverseTurningif true, positive turn is clockwise, if false, positive turn is counter clockwise
Return values
outputJTwoDTransform