Trying to debug the code but keep running into an error with “right_1.Set(rightPolarity*LinearValueEstimator(driverX_1, DEADZONE));” and other lines involving Set and LinearValueEstimator.
Is there a problem with how this is written? Any ideas as to what I can use in place of it?
The Set error says Invalid arguments ‘Candidates are: void Set(double)’ and the LinearValueEstimator says ‘Function ‘LinearValueEstimator’ could not be resolved’. LinearValueEstimator should be a double floating point and DEADZONE is defined as .3. DriverX_1 is a joystick axis.