Skip to content

Commit 3b0e541

Browse files
authored
Merge pull request #2425 from jcarpent/topic/rviz
Fix abstract class error
2 parents 6b6da02 + 30abd02 commit 3b0e541

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
1414
- Fix linkage of Boost.Serialization on Windows ([#2400](https://github.com/stack-of-tasks/pinocchio/pull/2400))
1515
- Fix mjcf parser appending of inertias at root joint ([#2403](https://github.com/stack-of-tasks/pinocchio/pull/2403))
1616
- Fix unit tests with GCC 13.3 ([#2406](https://github.com/stack-of-tasks/pinocchio/pull/2416)
17+
- Fix class abtract error for Rviz viewer ([#2425](https://github.com/stack-of-tasks/pinocchio/pull/2425))
1718

1819
## [3.2.0] - 2024-08-27
1920

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)