Package com.ctre.phoenix.signals
Interface IInvertable
- All Known Subinterfaces:
IMotorController
,IMotorControllerEnhanced
- All Known Implementing Classes:
BaseMotorController
,BaseTalon
,TalonFX
,TalonSRX
,VictorSPX
,WPI_TalonFX
,WPI_TalonSRX
,WPI_VictorSPX
public interface IInvertable
Interface for invertable objects
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setInverted
(boolean invert) Inverts the hbridge output of the motor controller.
-
Method Details
-
setInverted
Inverts the hbridge output of the motor controller. This does not impact sensor phase and should not be used to correct sensor polarity. This will invert the hbridge output but NOT the LEDs. This ensures.... - Green LEDs always represents positive request from robot-controller/closed-looping mode. - Green LEDs correlates to forward limit switch. - Green LEDs correlates to forward soft limit.- Parameters:
invert
- Invert state to set.
-
getInverted
boolean getInverted()- Returns:
- invert setting of motor output.
-