How do I change the controller sensitivity using the VEXV5 block code
You can use a cubic control. By cubing the original drive value then scaling it back to 127, you can get finer control at lower speed compared to the original vex output, which basically equals to having a higher controller sensitivity.
You can red this post for more info
During every season, we use an equation so the output of the joysticks followed a cubic function. This allowed for finer control at lower speeds without using a piecewise function or sacrificing max/min speed. We also experimented with quadratic, and quartic, but our driver liked cubic the best.
[equations]
For Turning Point we added some more driver assists. The first was slowing down turns when the joysticks were within a certain range. This helped our driver could aim more precisely, witho…
How do you change the settings on the V5 Code app though, to scale it to 127 on cubic control
Yea no, you’re supposed to program your stuff not VEX.
Im not too experienced with vexcode blocks but this may be helpful:
Hello, today I will be discussing Joystick Curving in VEXCode, inspired by Pilons 5225A.
Example Code for VEX Clawbot:
turningCurve = 5;
turningRed = false;
forwardCurve = 10;
forwardRed = false;
//graph of red and blue lines from 5225A here
//https://www.desmos.com/calculator/sdcgzah5ya
int curveJoystick(bool red, int input, double t){
int val = 0;
if(red){
val = (std::exp(-t/10)+std::exp((std::abs(input)-100)/10)*(1-std::exp(-t/10))) * input;
}else{
//blue
val = std::exp(…