org.cogchar.bind.rk.robot.model
Class ModelJoint
java.lang.Object
org.robokind.api.common.property.PropertyChangeNotifier
org.robokind.api.motion.AbstractJoint
org.cogchar.bind.rk.robot.model.ModelJoint
- All Implemented Interfaces:
- PropertyChangeListener, EventListener, org.robokind.api.common.property.PropertyChangeSource, org.robokind.api.motion.Joint
public class ModelJoint
- extends org.robokind.api.motion.AbstractJoint
- Author:
- Stu B.
| Nested classes/interfaces inherited from interface org.robokind.api.motion.Joint |
org.robokind.api.motion.Joint.Id |
| Fields inherited from class org.robokind.api.motion.AbstractJoint |
myProperties |
| Fields inherited from interface org.robokind.api.motion.Joint |
PROP_ENABLED, PROP_GOAL_POSITION |
| Methods inherited from class org.robokind.api.motion.AbstractJoint |
addProperty, getId, getProperties, getProperty, getProperty, propertyChange, removeProperty |
| Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier |
addPropertyChangeListener, addPropertyChangeListener, clearAllListeners, clearListeners, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, getPropertyChangeListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener |
| Methods inherited from interface org.robokind.api.common.property.PropertyChangeSource |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
ModelJoint
protected ModelJoint(org.robokind.api.motion.Joint.Id jointId,
BoneJointConfig bjc)
updateConfig
protected void updateConfig(BoneJointConfig bjc,
boolean flag_hardResetGoalPosToDefault)
getDescription
protected String getDescription()
toString
public String toString()
- Overrides:
toString in class Object
setEnabled
public void setEnabled(Boolean enabled)
getEnabled
public Boolean getEnabled()
getName
public String getName()
getDefaultPosition
public org.robokind.api.common.position.NormalizedDouble getDefaultPosition()
getGoalPosition
public org.robokind.api.common.position.NormalizedDouble getGoalPosition()
getPositionRange
public org.robokind.api.common.position.NormalizableRange getPositionRange()
getBoneRotationRanges
public List<BoneProjectionRange> getBoneRotationRanges()
setGoalPositionAndFirePropChangedEvent
protected void setGoalPositionAndFirePropChangedEvent(org.robokind.api.common.position.NormalizedDouble pos)
- This is how our owning robot tells us to go to a particular position, in
response to the move() commands it receives.
- Parameters:
pos -
getRotationListForNormPos
public List<BoneProjectionPosition> getRotationListForNormPos(org.robokind.api.common.position.NormalizedDouble normPos)
getRotationListForCurrentGoal
public List<BoneProjectionPosition> getRotationListForCurrentGoal()
Copyright © 2010-2013. All Rights Reserved.