def main()

in deepracer_navigation_pkg/deepracer_navigation_pkg/deepracer_navigation_node.py [0:0]


def main(args=None):
    rclpy.init(args=args)
    dr_navigation_node = DRNavigationNode()
    executor = MultiThreadedExecutor()
    rclpy.spin(dr_navigation_node, executor)
    
    # Destroy the node explicitly
    # (optional - otherwise it will be done automatically
    # when the garbage collector destroys the node object)
    dr_navigation_node.destroy_node()
    rclpy.shutdown()