pinocchio  3.3.1
A fast and flexible implementation of Rigid Body Dynamics algorithms and their analytical derivatives
Visual Class Reference

Public Member Functions

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)
 

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

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 26 of file robot_hand.py.


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