public class MotorControllerConfiguration extends ControllerConfiguration<DeviceConfiguration> implements java.io.Serializable
DeviceConfiguration.I2cChannelXMLATTR_SERIAL_NUMBERDISABLED_DEVICE_NAME, name, TAG, XMLATTR_NAME, XMLATTR_PORT| Constructor and Description |
|---|
MotorControllerConfiguration() |
MotorControllerConfiguration(java.lang.String name,
java.util.List<DeviceConfiguration> motors,
SerialNumber serialNumber) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deserializeChildElement(ConfigurationType configurationType,
XmlPullParser parser,
ReadXMLFileHandler xmlReader)
This gets called while the parser is pointed at the open tag for a child device configuration.
|
java.util.List<DeviceConfiguration> |
getMotors() |
void |
setMotors(java.util.List<DeviceConfiguration> motors) |
deserializeAttributes, forType, getConfigurationType, getDevices, getSerialNumber, isKnownToBeAttached, isSystemSynthetic, setDevices, setKnownToBeAttached, setSerialNumber, setSystemSynthetic, toUSBDeviceTypecompareTo, deserialize, getI2cChannel, getName, getPort, getSpinnerChoiceType, isEnabled, onDeserializationComplete, serializeXmlAttributes, setConfigurationType, setEnabled, setName, setPort, sortByNamepublic MotorControllerConfiguration()
public MotorControllerConfiguration(java.lang.String name,
java.util.List<DeviceConfiguration> motors,
SerialNumber serialNumber)
public java.util.List<DeviceConfiguration> getMotors()
public void setMotors(java.util.List<DeviceConfiguration> motors)
protected void deserializeChildElement(ConfigurationType configurationType, XmlPullParser parser, ReadXMLFileHandler xmlReader) throws java.io.IOException, XmlPullParserException, RobotCoreException
DeviceConfigurationdeserializeChildElement in class DeviceConfigurationjava.io.IOExceptionXmlPullParserExceptionRobotCoreException