We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 128ef0e commit bba4825Copy full SHA for bba4825
turtlebot4_vision_tutorials/turtlebot4_vision_tutorials/pose_detection.py
@@ -213,7 +213,7 @@ def pose_detect(self):
213
# Stamp the message with the current time
214
flag_msg.data = letter
215
self.semaphore_flag_publisher.publish(flag_msg)
216
- self.get_logger().info('Letter detected is: ' + letter)
+ self.get_logger().info(f'Letter detected is: {letter}')
217
218
self.autonomous_lights()
219
@@ -257,7 +257,7 @@ def angle_with_y(v):
257
self.dir_confirm = 1
258
self.dir = dir_temp
259
260
- if self.dir_confirm > 4:
+ if self.dir_confirm >= 3:
261
cmd_vel_msg = Twist()
262
if self.dir == Dir.LEFT:
263
cmd_vel_msg.angular.z = 0.4
0 commit comments