# ardupilot_script_editor **Repository Path**: ahui-git/ardupilot_script_editor ## Basic Information - **Project Name**: ardupilot_script_editor - **Description**: 飞行脚本模块化编程 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-01-07 - **Last Updated**: 2026-01-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## 项目结构 ardupilot_script_editor/ │ ├── main.py # 程序入口 ├── requirements.txt # 依赖包列表 ├── config.json # 配置文件 ├── pyinstaller_config.spec # 打包配置 │ ├── core/ # 核心模块 │ ├── init.py │ ├── lua_generator.py # LUA生成器 │ ├── module_manager.py # 模块管理器 │ └── parameter_validator.py # 参数验证器 │ ├── gui/ # 图形界面 │ ├── init.py │ ├── main_window.py # 主窗口 │ ├── trick_editor.py # 特技编辑器 │ └── preview_panel.py # 预览面板 │ ├── data/ # 数据文件 │ ├── default_tricks.json # 默认特技模板 │ ├── user_tricks.json # 用户自定义特技 │ └── icons/ # 图标资源 │ ├── templates/ # LUA模板 │ ├── knife_edge.lua.tpl │ ├── loop.lua.tpl │ └── roll.lua.tpl │ └── output/ # 输出目录 └── scripts/ # 生成的LUA脚本 ## 使用说明 安装依赖: pip install -r requirements.txt 运行程序: python main.py 打包为EXE: pyinstaller pyinstaller_config.spec ## 使用流程: * 启动程序后,从左侧模块库选择特技 * 在"参数配置"选项卡中设置参数 * 点击"添加到序列"将特技加入执行序列 * 在"序列编排"选项卡中可以调整特技顺序 * 在"全局设置"中配置脚本信息 * 点击"生成LUA脚本"生成代码 * 在"脚本预览"中查看和保存脚本