Skip to content

Commit

Permalink
Fix initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotochleb committed Oct 30, 2024
1 parent d3333d6 commit 743cd55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions happypose_ros/happypose_ros/happypose_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,9 @@ def _update_dynamic_params(self, on_init: bool = False) -> None:
self._params.time_stamp_strategy
]
# Update internal params of cameras
for cam in self._cameras.values():
cam.update_params(self._params.cameras)
if not on_init:
for cam in self._cameras.values():
cam.update_params(self._params.cameras)

# Clear the queue from old data
while not self._params_queue.empty():
Expand Down

0 comments on commit 743cd55

Please sign in to comment.