Using VCS to create a deadzone and throttle curve for a motor.
Not sure what the error means.
Not quite sure, but try making
100 a float, since leftDriveValue is a float.
do you mean 100.0?
I did that. Same error.
Yeah I’m not sure then. Could be something with the operator there, but I don’t think it is.
@jpearman would you have any ideas?
well, what I assume what you want is raised to power 3, which would be
leftDriveValue = pow( (leftDriveValue/100), 3.0 );
^ operator is binary XOR
Ah that makes sense.
Got it. Thanks guys.