WPILibC++ 2023.4.3
|
Trait which tests that class T
meets the requirements for a non-linear scale.
More...
#include <units/base.h>
Trait which tests that class T
meets the requirements for a non-linear scale.
A non-linear scale must:
operator()
member which returns the non-linear value stored in the scalem_value
member type which stores the linearized value in the scale.Linear/nonlinear scales are used by units::unit
to store values and scale them if they represent things like dB.