Skip to content

Commit 61cd492

Browse files
author
ipuch
committed
fix(marker read): as frame.type=SENSOR
1 parent d9375d1 commit 61cd492

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pyorerun/model_interfaces/pinocchio_model_interface.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,9 @@ def marker_names(self) -> tuple[str, ...]:
156156
In Pinocchio, markers can be represented as frames or operational frames.
157157
This returns all frame names that could represent markers.
158158
"""
159-
# Get all frames that are not joint frames
160159
marker_frames = []
161160
for frame in self.model.frames:
162-
if frame.type == pin.FrameType.OP_FRAME:
161+
if frame.type == pin.FrameType.SENSOR:
163162
marker_frames.append(frame.name)
164163
return tuple(marker_frames)
165164

0 commit comments

Comments
 (0)