Public Member Functions | Public Attributes | List of all members
pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer Class Reference
Inheritance diagram for pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer:
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, load_model=False)
 
def loadViewerModel (self, group_name, color=None)
 
- Public Member Functions inherited from pinocchio.visualize.base_visualizer.BaseVisualizer
def __init__ (self, model=pin.Model(), collision_model=None, visual_model=None, copy_models=False, data=None, collision_data=None, visual_data=None)
 
def captureImage (self, w=None, h=None)
 
def clean (self)
 
def create_video_ctx (self, filename=None, fps=30, directory=None, kwargs)
 
def disableCameraControl (self)
 
def display (self, q=None)
 
def displayCollisions (self, visibility)
 
def displayVisuals (self, visibility)
 
def drawFrameVelocities (self, args, kwargs)
 
def enableCameraControl (self)
 
def getViewerNodeName (self, geometry_object, geometry_type)
 
def has_video_writer (self)
 
def initViewer (self, args, kwargs)
 
def loadViewerModel (self, args, kwargs)
 
def play (self, q_trajectory, dt=None, callback=None, capture=False, kwargs)
 
def rebuildData (self)
 
def reload (self, new_geometry_object, geometry_type=None)
 
def setBackgroundColor (self, args, kwargs)
 
def setCameraPose (self, pose=np.eye(4))
 
def setCameraPosition (self, position)
 
def setCameraTarget (self, target)
 
def setCameraZoom (self, zoom)
 
def sleep (self, dt)
 

Public Attributes

 collision_group
 
 display_collisions
 
 display_visuals
 
 viewer
 
 visual_group
 
- Public Attributes inherited from pinocchio.visualize.base_visualizer.BaseVisualizer
 collision_data
 
 collision_model
 
 data
 
 model
 
 visual_data
 
 visual_model
 

Detailed Description

A Pinocchio display using panda3d engine.

Definition at line 13 of file panda3d_visualizer.py.

Member Function Documentation

◆ display()

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

Definition at line 91 of file panda3d_visualizer.py.

◆ displayCollisions()

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

Definition at line 112 of file panda3d_visualizer.py.

◆ displayVisuals()

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

Definition at line 117 of file panda3d_visualizer.py.

◆ getViewerNodeName()

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

Definition at line 84 of file panda3d_visualizer.py.

◆ initViewer()

def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.initViewer (   self,
  viewer = None,
  load_model = False 
)
Init the viewer by attaching to / creating a GUI viewer.

Definition at line 18 of file panda3d_visualizer.py.

◆ loadViewerModel()

def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.loadViewerModel (   self,
  group_name,
  color = None 
)
Create a group of nodes displaying the robot meshes in the viewer.

Definition at line 33 of file panda3d_visualizer.py.

Member Data Documentation

◆ collision_group

pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.collision_group

Definition at line 21 of file panda3d_visualizer.py.

◆ display_collisions

pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.display_collisions

Definition at line 23 of file panda3d_visualizer.py.

◆ display_visuals

pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.display_visuals

Definition at line 22 of file panda3d_visualizer.py.

◆ viewer

pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.viewer

Definition at line 24 of file panda3d_visualizer.py.

◆ visual_group

pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.visual_group

Definition at line 20 of file panda3d_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