Skip to content

Commit

Permalink
Update frames in FK if needed
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Nov 25, 2023
1 parent 1186f62 commit db5233c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bindings/python/pinocchio/visualize/meshcat_visualizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,6 +637,7 @@ def updateFrames(self):
"""
Updates the frame visualizations with the latest transforms from model data.
"""
pin.updateFramePlacements(self.model, self.data)
for fid in self.frame_ids:
frame_name = self.model.frames[fid].name
frame_viz_name = f"{self.viewerFramesGroupName}/{frame_name}"
Expand Down

0 comments on commit db5233c

Please sign in to comment.