|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
LinearValueEstimator
Trying to debug the code but keep running into an error with "right_1.Set(rightPolarity*LinearValueEstimator(dr iverX_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? |
|
#2
|
|||
|
|||
|
Re: LinearValueEstimator
Quote:
What data type is LinearValueEstimator? What data type is DEADZONE? and what is driverX_1? A joystick axis? |
|
#3
|
|||
|
|||
|
Re: LinearValueEstimator
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.
|
|
#4
|
|||
|
|||
|
Re: LinearValueEstimator
Totally just realized my error, thank you!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|