org.robokind.api.motion.jointgroup
Class RobotJointGroupConfig
java.lang.Object
org.robokind.api.common.property.PropertyChangeNotifier
org.robokind.api.motion.jointgroup.DefaultJointGroupConfig<Robot.JointId,RobotJointGroupConfig>
org.robokind.api.motion.jointgroup.RobotJointGroupConfig
- All Implemented Interfaces:
- PropertyChangeSource, JointGroupConfig<Robot.JointId,RobotJointGroupConfig>
public class RobotJointGroupConfig
- extends DefaultJointGroupConfig<Robot.JointId,RobotJointGroupConfig>
Config for a RobotJointGroup which identifies the Robot the JointGroup should
use.
- Author:
- Matthew Stevenson
| Methods inherited from class org.robokind.api.motion.jointgroup.DefaultJointGroupConfig |
addGroup, addJointId, getEnabled, getGroupCount, getJointCount, getJointGroup, getJointGroups, getJointId, getJointIds, getName, insertGroup, insertJointId, removeGroup, removeGroupAt, removeJointId, removeJointIdAt, setEnabled, setName, toString |
| Methods inherited from class org.robokind.api.common.property.PropertyChangeNotifier |
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, fireIndexedPropertyChange, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, removePropertyChangeListener, removePropertyChangeListener |
RobotJointGroupConfig
public RobotJointGroupConfig(String name,
Robot.Id robotId)
- Creates an empty RobotJointGroupConfig.
- Parameters:
name - JointGroup namerobotId - robot for the JointGroup to use
RobotJointGroupConfig
public RobotJointGroupConfig(String name,
Robot.Id robotId,
List<? extends Robot.JointId> ids,
List<? extends RobotJointGroupConfig> groups)
- Creates a RobotJointGroupConfig with the given JointIds and sub-groups.
- Parameters:
name - JointGroup namerobotId - robot for the JointGroup to useids - JointIds belonging to the JointGroupgroups - sub-groups of the JointGroup
getRobotId
public Robot.Id getRobotId()
- Returns the Robot Id to be used by the JointGroup.
- Returns:
- Robot Id to be used by the JointGroup
Copyright © 2011-2012. All Rights Reserved.