|
def | captureImage (self, w=None, h=None) |
|
def | clean (self) |
|
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 | initViewer (self, viewer=None, windowName="python-pinocchio", loadModel=False, initRosNode=True) |
|
def | loadViewerModel (self, rootNodeName="pinocchio") |
|
def | setBackgroundColor (self) |
|
def | setCameraPose (self, np.ndarray pose) |
|
def | setCameraPosition (self, np.ndarray position) |
|
def | setCameraTarget (self, target) |
|
def | setCameraZoom (self, float zoom) |
|
def | sleep (self, dt) |
|
A Pinocchio display using RViz
Definition at line 59 of file rviz_visualizer.py.
◆ _clean()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer._clean |
( |
|
self, |
|
|
|
publisher |
|
) |
| |
|
private |
Delete all the markers from a topic (use one marker with action DELETEALL)
Definition at line 279 of file rviz_visualizer.py.
◆ _plot()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer._plot |
( |
|
self, |
|
|
|
publisher, |
|
|
|
model, |
|
|
|
data, |
|
|
|
previous_ids = () |
|
) |
| |
|
private |
Create markers for each object of the model and publish it as MarkerArray
(also delete unused previously created markers)
Definition at line 192 of file rviz_visualizer.py.
◆ captureImage()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.captureImage |
( |
|
self, |
|
|
|
w = None , |
|
|
|
h = None |
|
) |
| |
◆ clean()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.clean |
( |
|
self | ) |
|
◆ disableCameraControl()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.disableCameraControl |
( |
|
self | ) |
|
◆ display()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.display |
( |
|
self, |
|
|
|
q = None |
|
) |
| |
Display the robot at configuration q in the viz by placing all the bodies.
Definition at line 164 of file rviz_visualizer.py.
◆ displayCollisions()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.displayCollisions |
( |
|
self, |
|
|
|
visibility |
|
) |
| |
◆ displayVisuals()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.displayVisuals |
( |
|
self, |
|
|
|
visibility |
|
) |
| |
◆ drawFrameVelocities()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.drawFrameVelocities |
( |
|
self, |
|
|
* |
args, |
|
|
** |
kwargs |
|
) |
| |
◆ enableCameraControl()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.enableCameraControl |
( |
|
self | ) |
|
◆ initViewer()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.initViewer |
( |
|
self, |
|
|
|
viewer = None , |
|
|
|
windowName = "python-pinocchio" , |
|
|
|
loadModel = False , |
|
|
|
initRosNode = True |
|
) |
| |
Init RVizViewer by starting a ros node (or not) and creating an RViz window.
Definition at line 67 of file rviz_visualizer.py.
◆ loadViewerModel()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.loadViewerModel |
( |
|
self, |
|
|
|
rootNodeName = "pinocchio" |
|
) |
| |
Create the displays in RViz and create publishers for the MarkerArray
Definition at line 112 of file rviz_visualizer.py.
◆ setBackgroundColor()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.setBackgroundColor |
( |
|
self | ) |
|
◆ setCameraPose()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.setCameraPose |
( |
|
self, |
|
|
np.ndarray |
pose |
|
) |
| |
◆ setCameraPosition()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.setCameraPosition |
( |
|
self, |
|
|
np.ndarray |
position |
|
) |
| |
◆ setCameraTarget()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.setCameraTarget |
( |
|
self, |
|
|
|
target |
|
) |
| |
◆ setCameraZoom()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.setCameraZoom |
( |
|
self, |
|
|
float |
zoom |
|
) |
| |
◆ sleep()
def pinocchio.visualize.rviz_visualizer.RVizVisualizer.sleep |
( |
|
self, |
|
|
|
dt |
|
) |
| |
◆ collision_Display
pinocchio.visualize.rviz_visualizer.RVizVisualizer.collision_Display |
◆ collision_ids
pinocchio.visualize.rviz_visualizer.RVizVisualizer.collision_ids |
◆ collisions_publisher
pinocchio.visualize.rviz_visualizer.RVizVisualizer.collisions_publisher |
◆ group_Display
pinocchio.visualize.rviz_visualizer.RVizVisualizer.group_Display |
◆ seq
pinocchio.visualize.rviz_visualizer.RVizVisualizer.seq |
◆ viewer
pinocchio.visualize.rviz_visualizer.RVizVisualizer.viewer |
◆ visual_Display
pinocchio.visualize.rviz_visualizer.RVizVisualizer.visual_Display |
◆ visual_ids
pinocchio.visualize.rviz_visualizer.RVizVisualizer.visual_ids |
◆ visuals_publisher
pinocchio.visualize.rviz_visualizer.RVizVisualizer.visuals_publisher |
The documentation for this class was generated from the following file: