org.robokind.impl.motion.pololu
Class MaestroControllerConfig.Reader
java.lang.Object
org.robokind.impl.motion.config.ServoControllerConfigXMLReader<SerialConf>
org.robokind.impl.motion.serial.SerialConfigXMLReader<MaestroServo.Id,org.robokind.api.motion.servos.config.ServoConfig<MaestroServo.Id>,MaestroControllerConfig>
org.robokind.impl.motion.pololu.MaestroControllerConfig.Reader
- All Implemented Interfaces:
- org.robokind.api.common.services.ServiceConfigurationLoader<MaestroControllerConfig,org.apache.commons.configuration.HierarchicalConfiguration>
- Enclosing class:
- MaestroControllerConfig
public static class MaestroControllerConfig.Reader
- extends org.robokind.impl.motion.serial.SerialConfigXMLReader<MaestroServo.Id,org.robokind.api.motion.servos.config.ServoConfig<MaestroServo.Id>,MaestroControllerConfig>
Fields inherited from class org.robokind.impl.motion.serial.SerialConfigXMLReader |
XML_BAUD_RATE, XML_CONNECTION_PARAMS, XML_DEFAULT_POSITON, XML_JOINT_NAME, XML_JOINT_PARAMS, XML_MAX_POSITON, XML_MIN_POSITION, XML_PORT_NAME, XML_SERVO, XML_SERVO_CONTROLLER_ID, XML_SERVO_ID |
Fields inherited from interface org.robokind.api.common.services.ServiceConfigurationLoader |
PROP_CONFIG_FORMAT_VERSION, PROP_PARAMETER_CLASS, PROP_SERVICE_CONFIG_CLASS |
Methods inherited from class org.robokind.impl.motion.serial.SerialConfigXMLReader |
loadConfiguration |
Methods inherited from class org.robokind.impl.motion.config.ServoControllerConfigXMLReader |
getParameterClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIG_TYPE
public static final String CONFIG_TYPE
- Config format version name.
- See Also:
- Constant Field Values
CONFIG_VERSION
public static final String CONFIG_VERSION
- Config format version number.
- See Also:
- Constant Field Values
VERSION
public static final org.robokind.api.common.config.VersionProperty VERSION
- Config format VersionProperty.
MaestroControllerConfig.Reader
public MaestroControllerConfig.Reader()
newConfig
protected MaestroControllerConfig newConfig()
- Specified by:
newConfig
in class org.robokind.impl.motion.serial.SerialConfigXMLReader<MaestroServo.Id,org.robokind.api.motion.servos.config.ServoConfig<MaestroServo.Id>,MaestroControllerConfig>
newServoConfig
protected org.robokind.api.motion.servos.config.ServoConfig<MaestroServo.Id> newServoConfig(MaestroServo.Id id,
String name,
int minPos,
int maxPos,
int defPos)
- Specified by:
newServoConfig
in class org.robokind.impl.motion.serial.SerialConfigXMLReader<MaestroServo.Id,org.robokind.api.motion.servos.config.ServoConfig<MaestroServo.Id>,MaestroControllerConfig>
getConfigurationFormat
public org.robokind.api.common.config.VersionProperty getConfigurationFormat()
- Specified by:
getConfigurationFormat
in interface org.robokind.api.common.services.ServiceConfigurationLoader<MaestroControllerConfig,org.apache.commons.configuration.HierarchicalConfiguration>
- Specified by:
getConfigurationFormat
in class org.robokind.impl.motion.config.ServoControllerConfigXMLReader<MaestroControllerConfig>
getConfigurationClass
public Class<MaestroControllerConfig> getConfigurationClass()
- Specified by:
getConfigurationClass
in interface org.robokind.api.common.services.ServiceConfigurationLoader<MaestroControllerConfig,org.apache.commons.configuration.HierarchicalConfiguration>
- Specified by:
getConfigurationClass
in class org.robokind.impl.motion.config.ServoControllerConfigXMLReader<MaestroControllerConfig>
Copyright © 2011. All Rights Reserved.