public class AgentMetaModel extends java.lang.Object implements IAgentMetaModel
Constructor and Description |
---|
AgentMetaModel(java.lang.String modelName,
java.lang.String sceneString,
org.apache.commons.math3.geometry.euclidean.threed.Vector3D staticPivotPoint,
java.lang.String bodyPartContainingCamera)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAvailableEffectorNames() |
java.lang.String[] |
getAvailableJointNames()
Returns a string array containing the names of all available joints of the
robot described by this meta model.
|
java.util.Collection<ISensorConfiguration> |
getAvailableJoints()
Returns an unmodifiable collection of available joints of the robot
described by this meta model.
|
java.util.List<IBodyPartConfiguration> |
getBodyPartConfiguration()
Returns a list of body part configurations, specifying the different body
parts of the agent and their related sensors/effectors.
|
java.util.List<IBodyPartConfiguration> |
getChildBodyConfigurations(IBodyPartConfiguration bodyPart)
Returns a list of child body part configurations to the given body part
configuration.
|
java.lang.String |
getName()
Retrieve the name of this meta model.
|
java.lang.String |
getNameOfCameraBodyPart()
Returns the name of the body part containing the camera.
|
IBodyPartConfiguration |
getRootBodyConfiguration()
Returns the root body configuration.
|
java.lang.String |
getSceneString()
Returns the corresponding action scene string, to this meta model.
|
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
getStaticPivotPoint()
Returns the static pivot-point used as replacement of the CoM in the
balancing engine related movements.
|
void |
setBodyPartConfiguration(java.util.List<IBodyPartConfiguration> config) |
public AgentMetaModel(java.lang.String modelName, java.lang.String sceneString, org.apache.commons.math3.geometry.euclidean.threed.Vector3D staticPivotPoint, java.lang.String bodyPartContainingCamera)
modelName
- - the name of this modelsceneString
- - the scene stringstaticPivotPoint
- - the static pivot-point related to this robotbodyPartConfig
- - a list of body parts configurationsbodyPartContainingCamera
- - the name of the body part containing the
camerapublic java.lang.String getName()
IAgentMetaModel
getName
in interface IAgentMetaModel
public java.lang.String getSceneString()
IAgentMetaModel
getSceneString
in interface IAgentMetaModel
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D getStaticPivotPoint()
IAgentMetaModel
getStaticPivotPoint
in interface IAgentMetaModel
public java.util.List<IBodyPartConfiguration> getBodyPartConfiguration()
IAgentMetaModel
getBodyPartConfiguration
in interface IAgentMetaModel
public void setBodyPartConfiguration(java.util.List<IBodyPartConfiguration> config)
public java.lang.String getNameOfCameraBodyPart()
IAgentMetaModel
getNameOfCameraBodyPart
in interface IAgentMetaModel
public java.util.List<IBodyPartConfiguration> getChildBodyConfigurations(IBodyPartConfiguration bodyPart)
IAgentMetaModel
getChildBodyConfigurations
in interface IAgentMetaModel
bodyPart
- the parent body part configurationpublic IBodyPartConfiguration getRootBodyConfiguration()
IAgentMetaModel
getRootBodyConfiguration
in interface IAgentMetaModel
public java.util.Collection<ISensorConfiguration> getAvailableJoints()
IAgentMetaModel
getAvailableJoints
in interface IAgentMetaModel
public java.lang.String[] getAvailableJointNames()
IAgentMetaModel
getAvailableJointNames
in interface IAgentMetaModel
public java.lang.String[] getAvailableEffectorNames()
getAvailableEffectorNames
in interface IAgentMetaModel