From 1c1d0fe4c5c4fd1519d772841e40df9905811a8e Mon Sep 17 00:00:00 2001 From: Stefania Pedrazzi Date: Mon, 28 Nov 2022 17:53:26 +0100 Subject: [PATCH] Fix Python Node.disablePoseTracking (#5591) --- lib/controller/python/controller/node.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/controller/python/controller/node.py b/lib/controller/python/controller/node.py index 2ebb5f85f77..d57c38ab1a1 100644 --- a/lib/controller/python/controller/node.py +++ b/lib/controller/python/controller/node.py @@ -143,7 +143,7 @@ def enablePoseTracking(self, samplingPeriod: int, fromNode: Node = None): def disablePoseTracking(self, fromNode: Node = None): fromNodeRef = fromNode._ref if fromNode else None - wb.wb_supervisor_node_enable_pose_tracking(self._ref, fromNodeRef) + wb.wb_supervisor_node_disable_pose_tracking(self._ref, fromNodeRef) def getCenterOfMass(self) -> typing.List[float]: c = wb.wb_supervisor_node_get_center_of_mass(self._ref)