Definition: BaseConfig.h:40
Definition: LimitSwitchConfig.h:36
LimitSwitchConfig & ReverseLimitSwitchType(Type type)
Definition: LimitSwitchConfig.cpp:91
LimitSwitchConfig & SetSparkMaxDataPortConfig()
Definition: LimitSwitchConfig.cpp:41
LimitSwitchConfig(const LimitSwitchConfig &)=delete
LimitSwitchConfig & ForwardLimitSwitchPosition(double position)
Definition: LimitSwitchConfig.cpp:69
LimitSwitchConfig & operator=(const LimitSwitchConfig &)=delete
LimitSwitchConfig & ForwardLimitSwitchType(Type type)
Definition: LimitSwitchConfig.cpp:61
LimitSwitchConfig & ForwardLimitSwitchTriggerBehavior(Behavior behavior)
Definition: LimitSwitchConfig.cpp:53
LimitSwitchConfig()=default
LimitSwitchConfig & ReverseLimitSwitchEnabled(bool enabled)
Definition: LimitSwitchConfig.cpp:78
LimitSwitchConfig(LimitSwitchConfig &&) noexcept=delete
LimitSwitchConfig & Apply(LimitSwitchConfig &config)
Definition: LimitSwitchConfig.cpp:36
LimitSwitchConfig & ReverseLimitSwitchPosition(double position)
Definition: LimitSwitchConfig.cpp:99
LimitSwitchConfig & LimitSwitchPositionSensor(FeedbackSensor sensor)
Definition: LimitSwitchConfig.cpp:108
LimitSwitchConfig & ForwardLimitSwitchEnabled(bool enabled)
Definition: LimitSwitchConfig.cpp:48
Behavior
Definition: LimitSwitchConfig.h:38
@ kKeepMovingMotorAndSetPosition
Definition: LimitSwitchConfig.h:41
@ kStopMovingMotorAndSetPosition
Definition: LimitSwitchConfig.h:42
@ kKeepMovingMotor
Definition: LimitSwitchConfig.h:39
@ kStopMovingMotor
Definition: LimitSwitchConfig.h:40
Type
Definition: LimitSwitchConfig.h:44
@ kNormallyClosed
Definition: LimitSwitchConfig.h:44
@ kNormallyOpen
Definition: LimitSwitchConfig.h:44
LimitSwitchConfig & ReverseLimitSwitchTriggerBehavior(Behavior behavior)
Definition: LimitSwitchConfig.cpp:83
~LimitSwitchConfig() override=default
Definition: SparkLowLevel.cpp:40
FeedbackSensor
Definition: ClosedLoopTypes.h:37