com.yobotics.simulationconstructionset.util.environments
Class PointMassRobot

java.lang.Object
  extended by com.yobotics.simulationconstructionset.Robot
      extended by com.yobotics.simulationconstructionset.util.environments.PointMassRobot
All Implemented Interfaces:
YoVariableHolder, java.io.Serializable

public class PointMassRobot
extends Robot

See Also:
Serialized Form

Constructor Summary
PointMassRobot()
           
PointMassRobot(java.lang.String name)
           
PointMassRobot(java.lang.String name, double mass)
           
PointMassRobot(java.lang.String name, double mass, double radius, double forceVectorScale)
           
 
Method Summary
 ExternalForcePoint getExternalForcePoint()
           
 void getPosition(javax.vecmath.Tuple3d tuple3d)
           
 void getVelocity(javax.vecmath.Tuple3d tuple3d)
           
 void setMass(double mass)
           
 void setPosition(double x, double y, double z)
           
 void setPosition(javax.vecmath.Point3d point)
           
 void setVelocity(double xd, double yd, double zd)
           
 void setVelocity(javax.vecmath.Vector3d velocity)
           
 
Methods inherited from class com.yobotics.simulationconstructionset.Robot
addDynamicGraphicObjectsListRegistry, addFunctionToIntegrate, addRootJoint, addStaticLink, addStaticLinkGraphics, addStaticLinkGraphics, addYoVariableRegistry, computeAngularMomentum, computeAngularMomentum, computeCenterOfMass, computeCenterOfMass, computeCenterOfPressure, computeCOMMomentum, computeCOMMomentum, computeGravitationalPotentialEnergy, computeGravitationalPotentialEnergy, computeLinearMomentum, computeLinearMomentum, computeRotationalKineticEnergy, computeRotationalKineticEnergy, computeTranslationalKineticEnergy, computeTranslationalKineticEnergy, createAllVarLists, decideGroundContactPointsInContact, doAfterControlBeforeDynamics, doDynamicsAndIntegrate, doDynamicsButDoNotIntegrate, getAllExternalForcePoints, getAllGroundContactPoints, getAllKinematicPoints, getAllOneDegreeOfFreedomJoints, getAllVariables, getAllVariablesArray, getCameraMountList, getControllers, getGravity, getGravityX, getGravityY, getGravityZ, getGroundContactModel, getGroundContactPoints, getIMUMounts, getName, getRobotsYoVariableRegistry, getRootJoints, getSensors, getSensors, getSimulationRewoundListeners, getStaticLinkGraphics, getTime, getVariable, getVariable, getVariables, getVariables, getVariables, getYoTime, hasUniqueVariable, hasUniqueVariable, setBodyExternalForcePoint, setController, setController, setController, setControllersAndCallInitialization, setDynamic, setDynamicIntegrationMethod, setGravity, setGravity, setGravity, setGroundContactModel, setTime, toString, update, updateAllGroundContactPointVelocities, updateForPlayback, updateVelocities
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PointMassRobot

public PointMassRobot()

PointMassRobot

public PointMassRobot(java.lang.String name)

PointMassRobot

public PointMassRobot(java.lang.String name,
                      double mass,
                      double radius,
                      double forceVectorScale)

PointMassRobot

public PointMassRobot(java.lang.String name,
                      double mass)
Method Detail

setPosition

public void setPosition(double x,
                        double y,
                        double z)

setPosition

public void setPosition(javax.vecmath.Point3d point)

setVelocity

public void setVelocity(double xd,
                        double yd,
                        double zd)

setVelocity

public void setVelocity(javax.vecmath.Vector3d velocity)

getExternalForcePoint

public ExternalForcePoint getExternalForcePoint()

getPosition

public void getPosition(javax.vecmath.Tuple3d tuple3d)

getVelocity

public void getVelocity(javax.vecmath.Tuple3d tuple3d)

setMass

public void setMass(double mass)