LinearValueEstimator

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?

What else does the error say?
What data type is LinearValueEstimator? What data type is DEADZONE?
and what is driverX_1? A joystick axis?

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.

Totally just realized my error, thank you!