"""
Environment Node 启动文件

功能:
- 启动环境节点，发布电池、温度、天气、地图导航点数据

Author: sunrise
"""

from launch import LaunchDescription
from launch_ros.actions import Node


def generate_launch_description():
    """生成启动描述"""

    # Environment Node
    environment_node = Node(
        package='environment_node',
        executable='environment_node',
        name='environment_node',
        output='screen',
        parameters=[{
            'config_topic': '/ai/config',
            'environment_topic': '/ai/environment',
            'use_mock_data': True
        }]
    )

    return LaunchDescription([
        environment_node
    ])
