public interface ServoControllerEx extends ServoController
PwmControl
ServoController.PwmStatus
HardwareDevice.Manufacturer
Modifier and Type | Method and Description |
---|---|
PwmControl.PwmRange |
getServoPwmRange(int servo)
Returns the PWM range of the indicated servo on this controller.
|
boolean |
isServoPwmEnabled(int servo)
Returns whether the PWM is energized for this particular servo
|
void |
setServoPwmDisable(int servo)
Individually de-energizes the PWM for a particular servo
|
void |
setServoPwmEnable(int servo)
Individually energizes the PWM for a particular servo
|
void |
setServoPwmRange(int servo,
PwmControl.PwmRange range)
Sets the PWM range of the indicated servo.
|
void |
setServoType(int servo,
ServoConfigurationType servoType)
Sets the servo type for a particular servo
|
getPwmStatus, getServoPosition, pwmDisable, pwmEnable, setServoPosition
close, getConnectionInfo, getDeviceName, getManufacturer, getVersion, resetDeviceConfigurationForOpMode
void setServoPwmRange(int servo, PwmControl.PwmRange range)
servo
- the servo port number on the controllerrange
- the new range for the servogetServoPwmRange(int)
,
PwmControl.setPwmRange(PwmControl.PwmRange)
PwmControl.PwmRange getServoPwmRange(int servo)
servo
- the servo port number on the controllersetServoPwmRange(int, PwmControl.PwmRange)
,
PwmControl.getPwmRange()
void setServoPwmEnable(int servo)
servo
- the servo port number on the controllerPwmControl.setPwmEnable()
void setServoPwmDisable(int servo)
servo
- the servo port number on the controllerPwmControl.setPwmDisable()
boolean isServoPwmEnabled(int servo)
servo
- the servo port number on the controllerPwmControl.isPwmEnabled()
void setServoType(int servo, ServoConfigurationType servoType)
servo
- the servo port number on the controllerservoType
- the ServoConfigurationType instance to set