org.robokind.impl.motion.messaging
Class PortableJointDefinition
java.lang.Object
org.robokind.impl.motion.messaging.PortableJointDefinition
- All Implemented Interfaces:
- org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition
public class PortableJointDefinition
- extends Object
- implements org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition
- Author:
- Matthew Stevenson
Constructor Summary |
PortableJointDefinition(org.robokind.api.motion.Joint.Id jId,
String name,
org.robokind.api.common.position.NormalizedDouble defPos,
org.robokind.api.common.position.NormalizedDouble goalPos,
boolean enabled,
List<org.robokind.api.motion.JointProperty> properties)
|
PortableJointDefinition(org.robokind.api.motion.Joint joint)
|
PortableJointDefinition(org.robokind.avrogen.motion.JointDefinitionRecord record)
|
PortableJointDefinition(org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition jointDef)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableJointDefinition
public PortableJointDefinition(org.robokind.avrogen.motion.JointDefinitionRecord record)
PortableJointDefinition
public PortableJointDefinition(org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition jointDef)
PortableJointDefinition
public PortableJointDefinition(org.robokind.api.motion.Joint.Id jId,
String name,
org.robokind.api.common.position.NormalizedDouble defPos,
org.robokind.api.common.position.NormalizedDouble goalPos,
boolean enabled,
List<org.robokind.api.motion.JointProperty> properties)
PortableJointDefinition
public PortableJointDefinition(org.robokind.api.motion.Joint joint)
getJointId
public org.robokind.api.motion.Joint.Id getJointId()
- Specified by:
getJointId
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition
getName
public String getName()
- Specified by:
getName
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition
getDefaultPosition
public org.robokind.api.common.position.NormalizedDouble getDefaultPosition()
- Specified by:
getDefaultPosition
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition
getGoalPosition
public org.robokind.api.common.position.NormalizedDouble getGoalPosition()
- Specified by:
getGoalPosition
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition
getEnabled
public boolean getEnabled()
- Specified by:
getEnabled
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition
getJointProperties
public List<org.robokind.api.motion.protocol.RobotDefinitionResponse.JointPropDefinition> getJointProperties()
- Specified by:
getJointProperties
in interface org.robokind.api.motion.protocol.RobotDefinitionResponse.JointDefinition
getRecord
public org.robokind.avrogen.motion.JointDefinitionRecord getRecord()
Copyright © 2011-2013. All Rights Reserved.