import rclpy
from rclpy.node import Node

def main():
    rclpy.init()
    node = Node("python_node")
    node.get_logger().info('你好 Python 节点！');
    rclpy.spin(node)
    rclpy.shutdown()

if __name__=="__main__":
    main()
