Public Member Functions | Public Attributes | List of all members
robot_hand.Visual Class Reference
Inheritance diagram for robot_hand.Visual:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, name, jointParent, placement, radius=.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)
 

Public Attributes

 dist
 
 jointParent
 
 length
 
 name
 
 placement
 
 R
 
 radius
 
 w
 

Detailed Description

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 11 of file robot_hand.py.

Constructor & Destructor Documentation

def robot_hand.Visual.__init__ (   self,
  name,
  jointParent,
  placement,
  radius = .1,
  length = None 
)
Length and radius are used in case of capsule objects

Definition at line 25 of file robot_hand.py.

Member Function Documentation

def robot_hand.Visual.collision (   self,
  c2,
  data = None,
  oMj1 = None,
  oMj2 = None 
)

Definition at line 41 of file robot_hand.py.

def robot_hand.Visual.displayCollision (   self,
  viewer,
  name = 'world/wa' 
)

Definition at line 127 of file robot_hand.py.

def robot_hand.Visual.isCapsule (   self)

Definition at line 38 of file robot_hand.py.

def robot_hand.Visual.jacobian (   self,
  c2,
  robot,
  q 
)

Definition at line 117 of file robot_hand.py.

def robot_hand.Visual.place (   self,
  display,
  oMjoint 
)

Definition at line 34 of file robot_hand.py.

Member Data Documentation

robot_hand.Visual.dist

Definition at line 108 of file robot_hand.py.

robot_hand.Visual.jointParent

Definition at line 28 of file robot_hand.py.

robot_hand.Visual.length

Definition at line 31 of file robot_hand.py.

robot_hand.Visual.name

Definition at line 27 of file robot_hand.py.

robot_hand.Visual.placement

Definition at line 29 of file robot_hand.py.

robot_hand.Visual.R

Definition at line 112 of file robot_hand.py.

robot_hand.Visual.radius

Definition at line 32 of file robot_hand.py.

robot_hand.Visual.w

Definition at line 110 of file robot_hand.py.


The documentation for this class was generated from the following file:


pinocchio
Author(s):
autogenerated on Tue Jun 1 2021 02:45:06