|
def | __init__ (self, name, jointParent, placement, radius=0.1, length=None) |
|
def | collision (self, c2, data=None, oMj1=None, oMj2=None) |
|
def | displayCollision (self, viewer, name="world/wa") |
|
def | isCapsule (self) |
|
def | jacobian (self, c2, robot, q) |
|
def | place (self, display, oMjoint) |
|
Class representing one 3D mesh of the robot, to be attached to a joint. The class
contains:
* the name of the 3D objects inside Gepetto viewer.
* the ID of the joint in the kinematic tree to which the body is attached.
* the placement of the body with respect to the joint frame.
This class is only used in the list Robot.visuals (see below).
The visual are supposed mostly to be capsules. In that case, the object also
contains radius and length of the capsule.
The collision checking computes collision test, distance, and witness points.
Using the supporting robot, the collision Jacobian returns a 1xN matrix
corresponding to the normal direction.
Definition at line 10 of file robot_hand.py.