hpp-corbaserver
4.9.0
Corba server for Humanoid Path Planner applications
|
Helper class to load a robot model in hpp::core::ProblemSolver. More...
Public Member Functions | |
def | __init__ (self, robotName=None, rootJointType=None, load=True, client=None, hppcorbaClient=None) |
def | rebuildRanks (self) |
Rebuild inner variables rankInConfiguration and rankInVelocity. More... | |
def | urdfSrdfFilenames (self) |
Return urdf and srdf filenames. More... | |
def | urdfSrdfString (self) |
def | loadModel (self, robotName, rootJointType) |
def | urdfPath (self) |
def | srdfPath (self) |
Degrees of freedom | |
def | getConfigSize (self) |
Get size of configuration. More... | |
def | getNumberDof (self) |
Joints | |
def | getJointNames (self) |
Get joint names in the same order as in the configuration. More... | |
def | getJointTypes (self) |
Get joint types in the same order as in the configuration. More... | |
def | getAllJointNames (self) |
Get joint names in the same order as in the configuration. More... | |
def | getParentFrame (self, frameName) |
Get parent frame of a frame. More... | |
def | getChildFrames (self, frameName, recursive=False) |
Get child frames of a frame. More... | |
def | getParentJoint (self, jointName) |
Get parent joint of a joint (excluding anchor joints) More... | |
def | getChildJoints (self, jointName, recursive=False) |
Get child joints of a joint (excluding anchor joints) More... | |
def | getJointPosition (self, jointName) |
Get joint position. More... | |
def | getRootJointPosition (self) |
Get constant position of root joint in world frame in initial position. More... | |
def | setRootJointPosition (self, position) |
Set position of root joint in world frame in initial configuration. More... | |
def | setJointPosition (self, jointName, position) |
Set the static position of joint WRT its parent. More... | |
def | getCurrentTransformation (self, jointName) |
Get joint transformation in world frame for current configuration. More... | |
def | getJointNumberDof (self, jointName) |
Get joint number degrees of freedom. More... | |
def | getJointConfigSize (self, jointName) |
Get joint number config size. More... | |
def | setJointBounds (self, jointName, inJointBound) |
set bounds for the joint More... | |
def | getJointBounds (self, jointName) |
Get bounds for a joint. More... | |
def | getSaturated (self, q) |
Get joints that are saturated for a given configuration. More... | |
def | getLinkPosition (self, linkName) |
Get link position in world frame. More... | |
def | getLinkNames (self, jointName) |
Get link name. More... | |
Configurations | |
def | setCurrentConfig (self, q) |
Set current configuration of composite robot. More... | |
def | getCurrentConfig (self) |
Get current configuration of composite robot. More... | |
def | setCurrentVelocity (self, v) |
Set current velocity of composite robot. More... | |
def | getCurrentVelocity (self) |
Get current velocity of composite robot. More... | |
def | shootRandomConfig (self) |
Shoot random configuration. More... | |
Bodies | |
def | getJointInnerObjects (self, jointName) |
Get the list of objects attached to a joint. More... | |
def | getJointOuterObjects (self, jointName) |
Get list of collision objects tested with the body attached to a joint. More... | |
def | getObjectPosition (self, objectName) |
Get position of robot object. More... | |
def | removeObstacleFromJoint (self, objectName, jointName) |
Remove an obstacle from outer objects of a joint body. More... | |
Collision checking and distance computation | |
def | isConfigValid (self, cfg) |
Check the validity of a configuration. More... | |
def | distancesToCollision (self) |
Compute distances between bodies and obstacles. More... | |
def | getRobotAABB (self) |
Get the aligned axes bounding box around the robot. More... | |
Mass and inertia | |
def | getMass (self) |
Get mass of robot. More... | |
def | getCenterOfMass (self) |
Get position of center of mass. More... | |
def | getJacobianCenterOfMass (self) |
Get Jacobian of the center of mass. More... | |
Public Attributes | |
client | |
hppcorba | |
name | |
rootJointType | |
displayName | |
jointNames | |
allJointNames | |
rankInConfiguration | |
rankInVelocity | |
childFrames | |
parentJoint | |
childJoints | |
Helper class to load a robot model in hpp::core::ProblemSolver.
This class is also a wrapper of idl methods defined by hpp::corbaserver::Robot. Most methods call idl methods.
def hpp.corbaserver.robot.Robot.__init__ | ( | self, | |
robotName = None , |
|||
rootJointType = None , |
|||
load = True , |
|||
client = None , |
|||
hppcorbaClient = None |
|||
) |
def hpp.corbaserver.robot.Robot.distancesToCollision | ( | self | ) |
Compute distances between bodies and obstacles.
def hpp.corbaserver.robot.Robot.getAllJointNames | ( | self | ) |
Get joint names in the same order as in the configuration.
def hpp.corbaserver.robot.Robot.getCenterOfMass | ( | self | ) |
Get position of center of mass.
def hpp.corbaserver.robot.Robot.getChildFrames | ( | self, | |
frameName, | |||
recursive = False |
|||
) |
Get child frames of a frame.
frameName | name of the frame |
def hpp.corbaserver.robot.Robot.getChildJoints | ( | self, | |
jointName, | |||
recursive = False |
|||
) |
Get child joints of a joint (excluding anchor joints)
def hpp.corbaserver.robot.Robot.getConfigSize | ( | self | ) |
Get size of configuration.
def hpp.corbaserver.robot.Robot.getCurrentConfig | ( | self | ) |
Get current configuration of composite robot.
def hpp.corbaserver.robot.Robot.getCurrentTransformation | ( | self, | |
jointName | |||
) |
Get joint transformation in world frame for current configuration.
def hpp.corbaserver.robot.Robot.getCurrentVelocity | ( | self | ) |
Get current velocity of composite robot.
def hpp.corbaserver.robot.Robot.getJacobianCenterOfMass | ( | self | ) |
Get Jacobian of the center of mass.
def hpp.corbaserver.robot.Robot.getJointBounds | ( | self, | |
jointName | |||
) |
Get bounds for a joint.
jointName | name of the joint |
def hpp.corbaserver.robot.Robot.getJointConfigSize | ( | self, | |
jointName | |||
) |
Get joint number config size.
def hpp.corbaserver.robot.Robot.getJointInnerObjects | ( | self, | |
jointName | |||
) |
Get the list of objects attached to a joint.
inJointName | name of the joint. |
def hpp.corbaserver.robot.Robot.getJointNames | ( | self | ) |
Get joint names in the same order as in the configuration.
def hpp.corbaserver.robot.Robot.getJointNumberDof | ( | self, | |
jointName | |||
) |
Get joint number degrees of freedom.
def hpp.corbaserver.robot.Robot.getJointOuterObjects | ( | self, | |
jointName | |||
) |
Get list of collision objects tested with the body attached to a joint.
inJointName | name of the joint. |
def hpp.corbaserver.robot.Robot.getJointPosition | ( | self, | |
jointName | |||
) |
Get joint position.
def hpp.corbaserver.robot.Robot.getJointTypes | ( | self | ) |
Get joint types in the same order as in the configuration.
def hpp.corbaserver.robot.Robot.getLinkNames | ( | self, | |
jointName | |||
) |
Get link name.
jointName | name of the joint, |
def hpp.corbaserver.robot.Robot.getLinkPosition | ( | self, | |
linkName | |||
) |
Get link position in world frame.
Joints are oriented in a different way as in urdf standard since rotation and uni-dimensional translation joints act around or along their x-axis. This method returns the position of the urdf link in world frame.
jointName | name of the joint |
def hpp.corbaserver.robot.Robot.getMass | ( | self | ) |
Get mass of robot.
def hpp.corbaserver.robot.Robot.getNumberDof | ( | self | ) |
def hpp.corbaserver.robot.Robot.getObjectPosition | ( | self, | |
objectName | |||
) |
Get position of robot object.
objectName | name of the object. |
def hpp.corbaserver.robot.Robot.getParentFrame | ( | self, | |
frameName | |||
) |
Get parent frame of a frame.
frameName | name of the frame |
def hpp.corbaserver.robot.Robot.getParentJoint | ( | self, | |
jointName | |||
) |
Get parent joint of a joint (excluding anchor joints)
jointName | name of the joint |
def hpp.corbaserver.robot.Robot.getRobotAABB | ( | self | ) |
Get the aligned axes bounding box around the robot.
def hpp.corbaserver.robot.Robot.getRootJointPosition | ( | self | ) |
Get constant position of root joint in world frame in initial position.
def hpp.corbaserver.robot.Robot.getSaturated | ( | self, | |
q | |||
) |
Get joints that are saturated for a given configuration.
q | configuration |
def hpp.corbaserver.robot.Robot.isConfigValid | ( | self, | |
cfg | |||
) |
Check the validity of a configuration.
Check whether a configuration of robot is valid.
cfg | a configuration |
if | config is not valid, raise an exception. |
def hpp.corbaserver.robot.Robot.loadModel | ( | self, | |
robotName, | |||
rootJointType | |||
) |
def hpp.corbaserver.robot.Robot.rebuildRanks | ( | self | ) |
Rebuild inner variables rankInConfiguration and rankInVelocity.
compute the kinematic tree.
def hpp.corbaserver.robot.Robot.removeObstacleFromJoint | ( | self, | |
objectName, | |||
jointName | |||
) |
Remove an obstacle from outer objects of a joint body.
objectName | name of the object to remove, |
jointName | name of the joint owning the body, |
def hpp.corbaserver.robot.Robot.setCurrentConfig | ( | self, | |
q | |||
) |
Set current configuration of composite robot.
q | configuration of the composite robot |
def hpp.corbaserver.robot.Robot.setCurrentVelocity | ( | self, | |
v | |||
) |
Set current velocity of composite robot.
q | velocity of the composite robot |
def hpp.corbaserver.robot.Robot.setJointBounds | ( | self, | |
jointName, | |||
inJointBound | |||
) |
set bounds for the joint
def hpp.corbaserver.robot.Robot.setJointPosition | ( | self, | |
jointName, | |||
position | |||
) |
Set the static position of joint WRT its parent.
def hpp.corbaserver.robot.Robot.setRootJointPosition | ( | self, | |
position | |||
) |
Set position of root joint in world frame in initial configuration.
def hpp.corbaserver.robot.Robot.shootRandomConfig | ( | self | ) |
Shoot random configuration.
def hpp.corbaserver.robot.Robot.srdfPath | ( | self | ) |
def hpp.corbaserver.robot.Robot.urdfPath | ( | self | ) |
def hpp.corbaserver.robot.Robot.urdfSrdfFilenames | ( | self | ) |
Return urdf and srdf filenames.
def hpp.corbaserver.robot.Robot.urdfSrdfString | ( | self | ) |
hpp.corbaserver.robot.Robot.allJointNames |
hpp.corbaserver.robot.Robot.childFrames |
hpp.corbaserver.robot.Robot.childJoints |
hpp.corbaserver.robot.Robot.client |
hpp.corbaserver.robot.Robot.displayName |
hpp.corbaserver.robot.Robot.hppcorba |
hpp.corbaserver.robot.Robot.jointNames |
hpp.corbaserver.robot.Robot.name |
hpp.corbaserver.robot.Robot.parentJoint |
hpp.corbaserver.robot.Robot.rankInConfiguration |
hpp.corbaserver.robot.Robot.rankInVelocity |
hpp.corbaserver.robot.Robot.rootJointType |