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

Public Member Functions

def __init__ (self, windowName="pinocchio")
 
def place (self, objName, M, refresh=True)
 

Public Attributes

 viewer
 

Detailed Description

Class Display: Example of a class implementing a client for the Gepetto-viewer server. The main
method of the class is 'place', that sets the position/rotation of a 3D visual object in a scene.

Definition at line 10 of file display.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  windowName = "pinocchio" 
)
This function connect with the Gepetto-viewer server and open a window with the given name.
If the window already exists, it is kept in the current state. Otherwise, the newly-created
window is set up with a scene named 'world'.

Definition at line 15 of file display.py.

Member Function Documentation

◆ place()

def place (   self,
  objName,
  M,
  refresh = True 
)
This function places (ie changes both translation and rotation) of the object
names "objName" in place given by the SE3 object "M". By default, immediately refresh
the layout. If multiple objects have to be placed at the same time, do the refresh
only at the end of the list.

Definition at line 45 of file display.py.


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