Skip to content

Commit

Permalink
debugged launch
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavboyapati committed Nov 12, 2024
1 parent f18ab36 commit 46b990e
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,13 @@ def classify_sign(self):
self.road_signs_publisher.publish(road_signs_detection_msg)


if __name__ == '__main__':
rclpy.init(args=None)
def main(args=None):
rclpy.init(args=args)
road_signs_classification = road_signs_classifier()
rclpy.spin(road_signs_classification)
rclpy.shutdown()


if __name__ == '__main__':
main()
rclpy.shutdown()

0 comments on commit 46b990e

Please sign in to comment.