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

Public Member Functions

def __init__ (self)
 
def checkCollision (self, pairIndex)
 
def collisionJacobian (self, pairIndex, q)
 
def createHand (self, root_id=0, prefix='', joint_placement=None)
 
def display (self, q)
 
def displayCollision (self, pairIndex, meshIndex, onlyOne=False)
 

Public Attributes

 collisionPairs
 
 data
 
 model
 
 q0
 
 v0
 
 viewer
 
 visuals
 

Detailed Description

Define a class Robot with 7DOF (shoulder=3 + elbow=1 + wrist=3).
The configuration is nq=7. The velocity is the same.
The members of the class are:
* viewer: a display encapsulating a gepetto viewer client to create 3D objects and place them.
* model: the kinematic tree of the robot.
* data: the temporary variables to be used by the kinematic algorithms.
* visuals: the list of all the 'visual' 3D objects to render the robot, each element of the list being
an object Visual (see above).

CollisionPairs is a list of visual indexes.
Reference to the collision pair is used in the collision test and jacobian of the collision
(which are simply proxy method to methods of the visual class).

Definition at line 132 of file robot_hand.py.

Constructor & Destructor Documentation

def robot_hand.Robot.__init__ (   self)

Definition at line 148 of file robot_hand.py.

Member Function Documentation

def robot_hand.Robot.checkCollision (   self,
  pairIndex 
)

Definition at line 291 of file robot_hand.py.

def robot_hand.Robot.collisionJacobian (   self,
  pairIndex,
  q 
)

Definition at line 298 of file robot_hand.py.

def robot_hand.Robot.createHand (   self,
  root_id = 0,
  prefix = '',
  joint_placement = None 
)

Definition at line 159 of file robot_hand.py.

def robot_hand.Robot.display (   self,
  q 
)

Definition at line 313 of file robot_hand.py.

def robot_hand.Robot.displayCollision (   self,
  pairIndex,
  meshIndex,
  onlyOne = False 
)

Definition at line 304 of file robot_hand.py.

Member Data Documentation

robot_hand.Robot.collisionPairs

Definition at line 157 of file robot_hand.py.

robot_hand.Robot.data

Definition at line 153 of file robot_hand.py.

robot_hand.Robot.model

Definition at line 151 of file robot_hand.py.

robot_hand.Robot.q0

Definition at line 154 of file robot_hand.py.

robot_hand.Robot.v0

Definition at line 156 of file robot_hand.py.

robot_hand.Robot.viewer

Definition at line 149 of file robot_hand.py.

robot_hand.Robot.visuals

Definition at line 150 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