Quote:
Originally Posted by JacobD
I'm assuming you want something like this.
Code:
double magnitude = Math.pow(1.3,driveStick.getMagnitude());
chassis.mecanumDrive_Polar(magnitude, driveStick.getDirectionDegrees(), rotationDirection);
this should make a pretty decent magnitude:acceleration ratio.
You can just edit this so that it works with your drive and controls. Or, if you post the code I will do it for you.
|
Since the OP has not responded to requests to clarify the nature of the problem he is interested in solving, you might want to qualify your suggestion with an explanation of what problem it is intended to solve... lest he take your suggestion and apply it to a problem different from what you inferred.
You might also caution that your suggestion maps the domain -1..+1 to the range 0.769..1.3