Definition: AlternateEncoderConfig.h:35
AlternateEncoderConfig & Apply(AlternateEncoderConfig &config)
Definition: AlternateEncoderConfig.cpp:36
AlternateEncoderConfig()=default
~AlternateEncoderConfig() override=default
AlternateEncoderConfig(AlternateEncoderConfig &&) noexcept=delete
AlternateEncoderConfig & VelocityConversionFactor(double factor)
Definition: AlternateEncoderConfig.cpp:72
static Type FromId(int id)
Definition: AlternateEncoderConfig.h:39
AlternateEncoderConfig & SetSparkMaxDataPortConfig()
Definition: AlternateEncoderConfig.cpp:42
AlternateEncoderConfig(const AlternateEncoderConfig &)=delete
AlternateEncoderConfig & MeasurementPeriod(int periodMs)
Definition: AlternateEncoderConfig.cpp:89
AlternateEncoderConfig & operator=(const AlternateEncoderConfig &)=delete
Type
Definition: AlternateEncoderConfig.h:37
@ kQuadrature
Definition: AlternateEncoderConfig.h:37
AlternateEncoderConfig & PositionConversionFactor(double factor)
Definition: AlternateEncoderConfig.cpp:63
AlternateEncoderConfig & CountsPerRevolution(int cpr)
Definition: AlternateEncoderConfig.cpp:48
AlternateEncoderConfig & AverageDepth(int depth)
Definition: AlternateEncoderConfig.cpp:81
AlternateEncoderConfig & Inverted(bool inverted)
Definition: AlternateEncoderConfig.cpp:56
Definition: BaseConfig.h:40
Definition: SparkLowLevel.cpp:40