Skip to content

Commit

Permalink
Merge pull request #2425 from jcarpent/topic/rviz
Browse files Browse the repository at this point in the history
Fix abstract class error
  • Loading branch information
jcarpent authored Sep 20, 2024
2 parents 6b6da02 + 30abd02 commit 3b0e541
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fix linkage of Boost.Serialization on Windows ([#2400](https://github.com/stack-of-tasks/pinocchio/pull/2400))
- Fix mjcf parser appending of inertias at root joint ([#2403](https://github.com/stack-of-tasks/pinocchio/pull/2403))
- Fix unit tests with GCC 13.3 ([#2406](https://github.com/stack-of-tasks/pinocchio/pull/2416)
- Fix class abtract error for Rviz viewer ([#2425](https://github.com/stack-of-tasks/pinocchio/pull/2425))

## [3.2.0] - 2024-08-27

Expand Down
28 changes: 28 additions & 0 deletions bindings/python/pinocchio/visualize/rviz_visualizer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import warnings
import numpy as np

from .. import pinocchio_pywrap_default as pin
from ..utils import npToTuple
Expand Down Expand Up @@ -305,5 +306,32 @@ def sleep(self, dt):

QTest.qWait(1e3 * dt)

def setBackgroundColor(self):
raise NotImplementedError()

def setCameraTarget(self, target):
raise NotImplementedError()

def setCameraPosition(self, position: np.ndarray):
raise NotImplementedError()

def setCameraZoom(self, zoom: float):
raise NotImplementedError()

def setCameraPose(self, pose: np.ndarray):
raise NotImplementedError()

def captureImage(self, w=None, h=None):
raise NotImplementedError()

def disableCameraControl(self):
raise NotImplementedError()

def enableCameraControl(self):
raise NotImplementedError()

def drawFrameVelocities(self, *args, **kwargs):
raise NotImplementedError()


__all__ = ["RVizVisualizer"]

0 comments on commit 3b0e541

Please sign in to comment.