266 std::
string Flatten() override;
Definition: BaseConfig.h:40
Definition: ClosedLoopConfig.h:40
ClosedLoopConfig & PositionWrappingMaxInput(double maxInput)
Definition: ClosedLoopConfig.cpp:164
ClosedLoopConfig & VelocityFF(double ff, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:103
ClosedLoopConfig & IMaxAccum(double iMaxAccum, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:146
ClosedLoopConfig & Pid(double p, double i, double d, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:74
ClosedLoopConfig & P(double p, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:85
ClosedLoopConfig & DFilter(double dFilter, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:109
ClosedLoopConfig(const ClosedLoopConfig &)=delete
FeedbackSensor
Definition: ClosedLoopConfig.h:42
@ kPrimaryEncoder
Definition: ClosedLoopConfig.h:44
@ kAbsoluteEncoder
Definition: ClosedLoopConfig.h:47
@ kAlternateOrExternalEncoder
Definition: ClosedLoopConfig.h:46
@ kNoSensor
Definition: ClosedLoopConfig.h:43
@ kAnalogSensor
Definition: ClosedLoopConfig.h:45
ClosedLoopConfig(ClosedLoopConfig &&) noexcept=delete
ClosedLoopConfig & MinOutput(double minOutput, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:122
ClosedLoopConfig()=default
ClosedLoopConfig & PositionWrappingMinInput(double minInput)
Definition: ClosedLoopConfig.cpp:158
SmartMotionConfig smartMotion
Definition: ClosedLoopConfig.h:269
ClosedLoopConfig & SetFeedbackSensor(FeedbackSensor sensor)
Definition: ClosedLoopConfig.cpp:179
ClosedLoopConfig & PositionWrappingInputRange(double minInput, double maxInput)
Definition: ClosedLoopConfig.cpp:170
ClosedLoopConfig & PositionWrappingEnabled(bool enabled)
Definition: ClosedLoopConfig.cpp:153
~ClosedLoopConfig() override=default
ClosedLoopConfig & D(double d, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:97
ClosedLoopConfig & MaxOutput(double maxOutput, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:129
ClosedLoopConfig & I(double i, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:91
std::string Flatten() override
Definition: ClosedLoopConfig.cpp:184
ClosedLoopConfig & OutputRange(double minOutput, double maxOutput, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:136
ClosedLoopConfig & Apply(ClosedLoopConfig &config)
Definition: ClosedLoopConfig.cpp:44
ClosedLoopConfig & IZone(double iZone, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:116
ClosedLoopConfig & operator=(const ClosedLoopConfig &)=delete
MAXMotionConfig maxMotion
Definition: ClosedLoopConfig.h:268
ClosedLoopConfig & Pidf(double p, double i, double d, double ff, ClosedLoopSlot slot=kSlot0)
Definition: ClosedLoopConfig.cpp:61
Definition: MAXMotionConfig.h:36
Definition: SmartMotionConfig.h:36
Definition: SparkLowLevel.cpp:40
ClosedLoopSlot
Definition: ClosedLoopSlot.h:33
@ kSlot0
Definition: ClosedLoopSlot.h:33