Public Member Functions | |
def | captureImage (self, w=None, h=None) |
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 | initViewer (self, viewer=None, load_model=False) |
def | loadViewerModel (self, group_name, color=None) |
def | setBackgroundColor (self) |
def | setCameraPose (self, np.ndarray pose) |
def | setCameraPosition (self, np.ndarray position) |
def | setCameraTarget (self, target) |
def | setCameraZoom (self, float zoom) |
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 | clean (self) |
def | create_video_ctx (self, filename=None, fps=30, directory=None, **kwargs) |
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 | 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 | |
A Pinocchio display using panda3d engine.
Definition at line 17 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.captureImage | ( | self, | |
w = None , |
|||
h = None |
|||
) |
Captures an image from the viewer and returns an RGB array.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 142 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.disableCameraControl | ( | self | ) |
Disable camera manual control
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 145 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.display | ( | self, | |
q = None |
|||
) |
Display the robot at configuration q in the viewer by placing all the bodies.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 95 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.displayCollisions | ( | self, | |
visibility | |||
) |
Set whether to display collision objects or not.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 117 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.displayVisuals | ( | self, | |
visibility | |||
) |
Set whether to display visual objects or not.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 122 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.drawFrameVelocities | ( | self, | |
* | args, | ||
** | kwargs | ||
) |
Draw current frame velocities.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 151 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.enableCameraControl | ( | self | ) |
Enable camera manual control
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 148 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.getViewerNodeName | ( | self, | |
geometry_object, | |||
geometry_type | |||
) |
Return the name of the geometry object inside the viewer.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 88 of file panda3d_visualizer.py.
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 22 of file panda3d_visualizer.py.
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 38 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.setBackgroundColor | ( | self | ) |
Set the visualizer background color.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 127 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.setCameraPose | ( | self, | |
np.ndarray | pose | ||
) |
Set camera 6D pose using a 4x4 matrix.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 139 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.setCameraPosition | ( | self, | |
np.ndarray | position | ||
) |
Set the camera's 3D position.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 133 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.setCameraTarget | ( | self, | |
target | |||
) |
Set the camera target.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 130 of file panda3d_visualizer.py.
def pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.setCameraZoom | ( | self, | |
float | zoom | ||
) |
Set camera zoom value.
Reimplemented from pinocchio.visualize.base_visualizer.BaseVisualizer.
Definition at line 136 of file panda3d_visualizer.py.
pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.collision_group |
Definition at line 25 of file panda3d_visualizer.py.
pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.display_collisions |
Definition at line 27 of file panda3d_visualizer.py.
pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.display_visuals |
Definition at line 26 of file panda3d_visualizer.py.
pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.viewer |
Definition at line 28 of file panda3d_visualizer.py.
pinocchio.visualize.panda3d_visualizer.Panda3dVisualizer.visual_group |
Definition at line 24 of file panda3d_visualizer.py.