org.cogchar.bind.rk.robot.model
Class ModelRobot
java.lang.Object
org.robokind.api.common.property.PropertyChangeNotifier
org.robokind.api.motion.AbstractRobot<ModelJoint>
org.cogchar.bind.rk.robot.model.ModelRobot
- All Implemented Interfaces:
- org.robokind.api.common.property.PropertyChangeSource, org.robokind.api.motion.Robot<ModelJoint>
public class ModelRobot
- extends org.robokind.api.motion.AbstractRobot<ModelJoint>
- Author:
- Stu B.
| Nested classes/interfaces inherited from interface org.robokind.api.motion.Robot |
org.robokind.api.motion.Robot.Id, org.robokind.api.motion.Robot.JointId, org.robokind.api.motion.Robot.RobotPositionHashMap, org.robokind.api.motion.Robot.RobotPositionMap |
| Fields inherited from class org.robokind.api.motion.AbstractRobot |
myJointList, myJointMap |
| Fields inherited from interface org.robokind.api.motion.Robot |
PROP_CONNECTED, PROP_ENABLED, PROP_ID |
|
Constructor Summary |
ModelRobot(org.robokind.api.motion.Robot.Id robotId)
|
| Methods inherited from class org.robokind.api.motion.AbstractRobot |
addJoint, clearJoints, getCurrentPositions, getDefaultPositions, getGoalPositions, getJoint, getJointIds, getJointList, getJointName, getRobotId, isEnabled, removeJoint, setEnabled |
| 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 class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.robokind.api.common.property.PropertyChangeSource |
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
VERSION_NAME
public static final String VERSION_NAME
- Robot service name
- See Also:
- Constant Field Values
VERSION_NUMBER
public static final String VERSION_NUMBER
- Robot service version number.
- See Also:
- Constant Field Values
VERSION
public static final org.robokind.api.common.config.VersionProperty VERSION
- Robot type VersionProperty.
ModelRobot
public ModelRobot(org.robokind.api.motion.Robot.Id robotId)
registerMoveListener
public void registerMoveListener(ModelRobot.MoveListener ml)
notifyMoveListeners
public void notifyMoveListeners()
getDescription
protected String getDescription()
connect
public boolean connect()
disconnect
public void disconnect()
move
public void move(org.robokind.api.motion.Robot.RobotPositionMap positions,
long lenMillisec)
registerBonyJoint
public void registerBonyJoint(ModelJoint bj)
isConnected
public boolean isConnected()
updateConfig
public void updateConfig(BoneRobotConfig config,
boolean flag_hardResetGoalPosToDefault)
- Parameters:
config -
Copyright © 2010-2013. All Rights Reserved.