Skip to content

Commit dc2257e

Browse files
committed
python/viewers: fix abstract class error
1 parent 6b6da02 commit dc2257e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

bindings/python/pinocchio/visualize/rviz_visualizer.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import warnings
2+
import numpy as np
23

34
from .. import pinocchio_pywrap_default as pin
45
from ..utils import npToTuple
@@ -305,5 +306,32 @@ def sleep(self, dt):
305306

306307
QTest.qWait(1e3 * dt)
307308

309+
def setBackgroundColor(self):
310+
raise NotImplementedError()
311+
312+
def setCameraTarget(self, target):
313+
raise NotImplementedError()
314+
315+
def setCameraPosition(self, position: np.ndarray):
316+
raise NotImplementedError()
317+
318+
def setCameraZoom(self, zoom: float):
319+
raise NotImplementedError()
320+
321+
def setCameraPose(self, pose: np.ndarray):
322+
raise NotImplementedError()
323+
324+
def captureImage(self, w=None, h=None):
325+
raise NotImplementedError()
326+
327+
def disableCameraControl(self):
328+
raise NotImplementedError()
329+
330+
def enableCameraControl(self):
331+
raise NotImplementedError()
332+
333+
def drawFrameVelocities(self, *args, **kwargs):
334+
raise NotImplementedError()
335+
308336

309337
__all__ = ["RVizVisualizer"]

0 commit comments

Comments
 (0)