Public Member Functions | Public Attributes | List of all members
pinocchio.visualize.gepetto_visualizer.GepettoVisualizer Class Reference
Inheritance diagram for pinocchio.visualize.gepetto_visualizer.GepettoVisualizer:
Inheritance graph
[legend]

Public Member Functions

def display (self, q=None)
 
def displayCollisions (self, visibility)
 
def displayVisuals (self, visibility)
 
def getViewerNodeName (self, geometry_object, geometry_type)
 
def initViewer (self, viewer=None, windowName="python-pinocchio", sceneName="world", loadModel=False)
 
def loadPrimitive (self, meshName, geometry_object)
 
def loadViewerGeometryObject (self, geometry_object, geometry_type)
 
def loadViewerModel (self, rootNodeName="pinocchio")
 

Public Attributes

 display_collisions
 
 display_visuals
 
 sceneName
 
 viewer
 
 viewerCollisionGroupName
 
 viewerRootNodeName
 
 viewerVisualGroupName
 
 windowID
 

Detailed Description

A Pinocchio display using Gepetto Viewer

Definition at line 15 of file gepetto_visualizer.py.

Member Function Documentation

◆ display()

def pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.display (   self,
  q = None 
)
Display the robot at configuration q in the viewer by placing all the bodies.

Definition at line 166 of file gepetto_visualizer.py.

◆ displayCollisions()

def pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.displayCollisions (   self,
  visibility 
)
Set whether to display collision objects or not

Definition at line 192 of file gepetto_visualizer.py.

◆ displayVisuals()

def pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.displayVisuals (   self,
  visibility 
)
Set whether to display visual objects or not

Definition at line 207 of file gepetto_visualizer.py.

◆ getViewerNodeName()

def pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.getViewerNodeName (   self,
  geometry_object,
  geometry_type 
)
Return the name of the geometry object inside the viewer

Definition at line 18 of file gepetto_visualizer.py.

◆ initViewer()

def pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.initViewer (   self,
  viewer = None,
  windowName = "python-pinocchio",
  sceneName = "world",
  loadModel = False 
)
Init GepettoViewer by loading the gui and creating a window.

Definition at line 25 of file gepetto_visualizer.py.

◆ loadPrimitive()

def pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.loadPrimitive (   self,
  meshName,
  geometry_object 
)

Definition at line 64 of file gepetto_visualizer.py.

◆ loadViewerGeometryObject()

def pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.loadViewerGeometryObject (   self,
  geometry_object,
  geometry_type 
)
Load a single geometry object

Definition at line 100 of file gepetto_visualizer.py.

◆ loadViewerModel()

def pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.loadViewerModel (   self,
  rootNodeName = "pinocchio" 
)
Create the scene displaying the robot meshes in gepetto-viewer

Definition at line 133 of file gepetto_visualizer.py.

Member Data Documentation

◆ display_collisions

pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.display_collisions

Definition at line 195 of file gepetto_visualizer.py.

◆ display_visuals

pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.display_visuals

Definition at line 210 of file gepetto_visualizer.py.

◆ sceneName

pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.sceneName

Definition at line 52 of file gepetto_visualizer.py.

◆ viewer

pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.viewer

Definition at line 38 of file gepetto_visualizer.py.

◆ viewerCollisionGroupName

pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.viewerCollisionGroupName

Definition at line 143 of file gepetto_visualizer.py.

◆ viewerRootNodeName

pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.viewerRootNodeName

Definition at line 138 of file gepetto_visualizer.py.

◆ viewerVisualGroupName

pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.viewerVisualGroupName

Definition at line 147 of file gepetto_visualizer.py.

◆ windowID

pinocchio.visualize.gepetto_visualizer.GepettoVisualizer.windowID

Definition at line 44 of file gepetto_visualizer.py.


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


pinocchio
Author(s):
autogenerated on Fri Jun 23 2023 02:38:36