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