org.robokind.impl.motion.dynamixel.utils
Class DynamixelControllerConfig.Reader

java.lang.Object
  extended by org.robokind.impl.motion.config.ServoControllerConfigXMLReader<SerialConf>
      extended by org.robokind.impl.motion.serial.SerialConfigXMLReader<DynamixelServo.Id,org.robokind.api.motion.servos.config.ServoConfig<DynamixelServo.Id>,DynamixelControllerConfig>
          extended by org.robokind.impl.motion.dynamixel.utils.DynamixelControllerConfig.Reader
All Implemented Interfaces:
org.robokind.api.common.services.ConfigurationLoader<DynamixelControllerConfig,org.apache.commons.configuration.HierarchicalConfiguration>
Enclosing class:
DynamixelControllerConfig

public static class DynamixelControllerConfig.Reader
extends org.robokind.impl.motion.serial.SerialConfigXMLReader<DynamixelServo.Id,org.robokind.api.motion.servos.config.ServoConfig<DynamixelServo.Id>,DynamixelControllerConfig>


Field Summary
static String CONFIG_TYPE
          Config format version name.
static String CONFIG_VERSION
          Config format version number.
static org.robokind.api.common.config.VersionProperty VERSION
          Config format VersionProperty.
 
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
 
Constructor Summary
DynamixelControllerConfig.Reader()
           
 
Method Summary
 Class<DynamixelControllerConfig> getConfigurationClass()
           
 org.robokind.api.common.config.VersionProperty getConfigurationFormat()
           
protected  DynamixelControllerConfig newConfig()
           
protected  org.robokind.api.motion.servos.config.ServoConfig<DynamixelServo.Id> newServoConfig(DynamixelServo.Id id, String name, int minPos, int maxPos, int defPos)
           
 
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
 

Field Detail

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.

Constructor Detail

DynamixelControllerConfig.Reader

public DynamixelControllerConfig.Reader()
Method Detail

newConfig

protected DynamixelControllerConfig newConfig()
Specified by:
newConfig in class org.robokind.impl.motion.serial.SerialConfigXMLReader<DynamixelServo.Id,org.robokind.api.motion.servos.config.ServoConfig<DynamixelServo.Id>,DynamixelControllerConfig>

newServoConfig

protected org.robokind.api.motion.servos.config.ServoConfig<DynamixelServo.Id> newServoConfig(DynamixelServo.Id id,
                                                                                              String name,
                                                                                              int minPos,
                                                                                              int maxPos,
                                                                                              int defPos)
Specified by:
newServoConfig in class org.robokind.impl.motion.serial.SerialConfigXMLReader<DynamixelServo.Id,org.robokind.api.motion.servos.config.ServoConfig<DynamixelServo.Id>,DynamixelControllerConfig>

getConfigurationFormat

public org.robokind.api.common.config.VersionProperty getConfigurationFormat()
Specified by:
getConfigurationFormat in interface org.robokind.api.common.services.ConfigurationLoader<DynamixelControllerConfig,org.apache.commons.configuration.HierarchicalConfiguration>
Specified by:
getConfigurationFormat in class org.robokind.impl.motion.config.ServoControllerConfigXMLReader<DynamixelControllerConfig>

getConfigurationClass

public Class<DynamixelControllerConfig> getConfigurationClass()
Specified by:
getConfigurationClass in interface org.robokind.api.common.services.ConfigurationLoader<DynamixelControllerConfig,org.apache.commons.configuration.HierarchicalConfiguration>
Specified by:
getConfigurationClass in class org.robokind.impl.motion.config.ServoControllerConfigXMLReader<DynamixelControllerConfig>


Copyright © 2011-2013. All Rights Reserved.