Skip to content

Commit

Permalink
fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyLai1234 committed Aug 23, 2024
1 parent 69aeb7f commit d5772d8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def line_recognition(self, msg):
linear, angular = detect_black_line(cv_img)

message1 = LineDetectionResult()
message1.linear = linear
message1.angular = angular
message1.linear = str(linear)
message1.angular = str(angular)
self.get_logger().info(f"Linear: {message1.linear}\nAngular: {message1.angular:.2f}")


Expand Down

0 comments on commit d5772d8

Please sign in to comment.