From 060c836d4e942412e73d6264d340560ca10a1fcf Mon Sep 17 00:00:00 2001 From: Chris Iverach-Brereton Date: Fri, 27 Sep 2024 12:37:55 -0400 Subject: [PATCH] Make the lights blue when the pose is recognized --- .../turtlebot4_vision_tutorials/pose_detection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/turtlebot4_vision_tutorials/turtlebot4_vision_tutorials/pose_detection.py b/turtlebot4_vision_tutorials/turtlebot4_vision_tutorials/pose_detection.py index 395d318..f19a27b 100644 --- a/turtlebot4_vision_tutorials/turtlebot4_vision_tutorials/pose_detection.py +++ b/turtlebot4_vision_tutorials/turtlebot4_vision_tutorials/pose_detection.py @@ -257,6 +257,8 @@ def angle_with_y(v): self.dir_confirm = 1 self.dir = dir_temp + self.lights_blue_ = self.dir != Dir.STOP + if self.dir_confirm >= 3: cmd_vel_msg = Twist() if self.dir == Dir.LEFT: