Skip to content

Commit

Permalink
Added some test information outputs, seems everything is fine. Should…
Browse files Browse the repository at this point in the history
…n't be this slow though.
  • Loading branch information
Benteng Ma committed Jul 9, 2024
1 parent c467823 commit 0fd439d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skills/scripts/unit_test_adjust_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
sm.add(
"AdjustCamera",
AdjustCamera(
max_attempts=1000,
debug=True,
max_attempts=3,
debug=False,
init_state="u1m",
),
transitions={"finished": "end", "failed": "end", "truncated": "end"},
Expand Down
1 change: 1 addition & 0 deletions skills/src/lasr_skills/adjust_camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ def __init__(
self.counter = 0

def execute(self, userdata):
rospy.logwarn(f"Start attempt number {self.counter}.")
req = BodyPixKeypointDetectionRequest()
req.image_raw = userdata.img_msg
req.dataset = self._bodypix_model
Expand Down

0 comments on commit 0fd439d

Please sign in to comment.