📅 日期2026-06-26
📊 统计1 个仓库 · 8 个提交 · +8977 行 · -1287 行
📝 今日小结
stm32h750 飞控项目启动,今天完成了工程初始化、姿态 NN 权重嵌入,并把仿真接口替换为真实 host 环境,闭环评估的参数也调了一轮。
📦 dkjsiogu/stm32h750-flight-control · stm32h750-flight-control
凌晨 init 飞控栈并嵌入训练好的姿态策略权重,随后优化闭环评估与抗扰参数。白天把仿真层替换成真实 host 环境,固件核心与 host 验证拆开,晚上继续训练姿态 NN——先优化权重,再扩大网络容量。
✅ 提交 3590327 · 提交者 dkjsiogu · 02:28
init stm32h750 flight control stack
📄 文件统计
| 项目 | 数量 |
|---|---|
| 新增 | 1771 |
| 修改 | 28 |
| 删除 | 0 |
.gitignore· +12/-0CMakeLists.txt· +40/-0README.md· +41/-0include/flight_control/app/flight_application.hpp· +54/-0include/flight_control/config.hpp· +16/-0include/flight_control/control/speed_controller.hpp· +40/-0include/flight_control/control/torque_controller.hpp· +33/-0include/flight_control/data/flight_types.hpp· +71/-0include/flight_control/data/history_window.hpp· +25/-0include/flight_control/interfaces/flight_interfaces.hpp· +28/-0include/flight_control/math/vector_quaternion.hpp· +199/-0include/flight_control/model/attitude_policy.hpp· +53/-0include/flight_control/model/model_adapter.hpp· +44/-0include/flight_control/model/static_mlp_policy.hpp· +33/-0include/flight_control/platform/freertos/freertos_task_runner.hpp· +22/-0include/flight_control/platform/host/simulated_components.hpp· +74/-0include/flight_control/runtime/task_runner.hpp· +36/-0src/app/flight_application.cpp· +153/-0src/control/speed_controller.cpp· +94/-0src/control/torque_controller.cpp· +55/-0src/data/history_window.cpp· +39/-0src/main.cpp· +39/-0src/model/model_adapter.cpp· +92/-0src/model/static_mlp_policy.cpp· +60/-0src/platform/freertos/freertos_task_runner.cpp· +40/-0- … 共 28 个文件
✅ 提交 9fe7e61 · 提交者 dkjsiogu · 02:33
embed trained attitude policy weights
📄 文件统计
| 项目 | 数量 |
|---|---|
| 新增 | 457 |
| 修改 | 9 |
| 删除 | 19 |
CMakeLists.txt· +1/-0README.md· +2/-2include/flight_control/control/speed_controller.hpp· +2/-2include/flight_control/control/torque_controller.hpp· +3/-4include/flight_control/model/generated_policy.hpp· +13/-0include/flight_control/platform/host/simulated_components.hpp· +8/-8src/main.cpp· +3/-3src/model/generated_policy.cpp· +413/-0tests/flight_control_tests.cpp· +12/-0
✅ 提交 c5fa40f · 提交者 dkjsiogu · 03:14
优化闭环飞控评估与抗扰参数 / Optimize closed-loop flight evaluation
📄 文件统计
| 项目 | 数量 |
|---|---|
| 新增 | 665 |
| 修改 | 20 |
| 删除 | 12 |
CMakeLists.txt· +12/-0README.md· +28/-1helloagents/CHANGELOG.md· +15/-0helloagents/INDEX.md· +12/-0helloagents/archive/.gitkeep· +1/-0helloagents/context.md· +15/-0helloagents/modules/_index.md· +3/-0helloagents/modules/flight_control_stack.md· +13/-0helloagents/plan/.gitkeep· +1/-0include/flight_control/control/speed_controller.hpp· +13/-9include/flight_control/eval/simulation_runner.hpp· +84/-0include/flight_control/platform/host/simulated_components.hpp· +1/-0output/flight_evaluation_metrics.csv· +6/-0output/flight_evaluation_report.md· +14/-0src/control/speed_controller.cpp· +17/-1src/eval/simulation_runner.cpp· +347/-0src/evaluate.cpp· +35/-0src/model/generated_policy.cpp· +1/-1src/platform/host/simulated_components.cpp· +5/-0tests/system_eval_tests.cpp· +42/-0
✅ 提交 f9fe113 · 提交者 dkjsiogu · 10:08
docs: 补齐飞控头文件中文注释 / document flight control headers
📄 文件统计
| 项目 | 数量 |
|---|---|
| 新增 | 990 |
| 修改 | 17 |
| 删除 | 8 |
helloagents/CHANGELOG.md· +1/-0include/flight_control/app/flight_application.hpp· +54/-0include/flight_control/config.hpp· +10/-1include/flight_control/control/speed_controller.hpp· +59/-0include/flight_control/control/torque_controller.hpp· +51/-0include/flight_control/data/flight_types.hpp· +83/-1include/flight_control/data/history_window.hpp· +33/-1include/flight_control/eval/simulation_runner.hpp· +111/-0include/flight_control/interfaces/flight_interfaces.hpp· +34/-1include/flight_control/math/vector_quaternion.hpp· +234/-0include/flight_control/model/attitude_policy.hpp· +47/-1include/flight_control/model/generated_policy.hpp· +10/-0include/flight_control/model/model_adapter.hpp· +59/-0include/flight_control/model/static_mlp_policy.hpp· +32/-1include/flight_control/platform/freertos/freertos_task_runner.hpp· +22/-1include/flight_control/platform/host/simulated_components.hpp· +112/-0include/flight_control/runtime/task_runner.hpp· +38/-1
✅ 提交 f9f741f · 提交者 dkjsiogu · 16:28
refactor: 用真实 host 环境替代仿真接口 / replace simulation layer with host environment
📄 文件统计
| 项目 | 数量 |
|---|---|
| 新增 | 735 |
| 修改 | 24 |
| 删除 | 490 |
CMakeLists.txt· +2/-2README.md· +3/-3helloagents/CHANGELOG.md· +2/-0helloagents/INDEX.md· +1/-1helloagents/context.md· +1/-1helloagents/modules/flight_control_stack.md· +1/-1include/flight_control/control/speed_controller.hpp· +12/-0include/flight_control/control/torque_controller.hpp· +2/-0include/flight_control/data/flight_types.hpp· +6/-4include/flight_control/eval/{simulation_runner.hpp => closed_loop_evaluator.hpp}· +25/-25include/flight_control/interfaces/flight_interfaces.hpp· +2/-2include/flight_control/platform/host/host_environment.hpp· +245/-0include/flight_control/platform/host/simulated_components.hpp· +0/-187output/flight_evaluation_metrics.csv· +5/-5output/flight_evaluation_report.md· +8/-7src/control/speed_controller.cpp· +32/-2src/control/torque_controller.cpp· +8/-3src/eval/{simulation_runner.cpp => closed_loop_evaluator.cpp}· +34/-27src/evaluate.cpp· +3/-3src/main.cpp· +8/-8src/platform/host/host_environment.cpp· +320/-0src/platform/host/simulated_components.cpp· +0/-197tests/flight_control_tests.cpp· +9/-6tests/system_eval_tests.cpp· +6/-6
✅ 提交 a5a59dc · 提交者 dkjsiogu · 17:34
refactor: 分离固件核心与host验证 / split firmware core from host validation
📄 文件统计
| 项目 | 数量 |
|---|---|
| 新增 | 767 |
| 修改 | 26 |
| 删除 | 191 |
.gitignore· +1/-1CMakeLists.txt· +58/-16README.md· +54/-41helloagents/CHANGELOG.md· +7/-0helloagents/context.md· +8/-2helloagents/modules/flight_control_stack.md· +13/-0include/flight_control/app/flight_application.hpp· +14/-10include/flight_control/data/flight_types.hpp· +2/-4include/flight_control/platform/freertos/freertos_task_runner.hpp· +22/-1include/flight_control/platform/host/host_synchronization.hpp· +27/-0include/flight_control/platform/host/thread_task_runner.hpp· +55/-0include/flight_control/platform/stm32/stm32_flight_port.hpp· +107/-0include/flight_control/runtime/synchronization.hpp· +60/-0include/flight_control/runtime/task_runner.hpp· +8/-37src/app/flight_application.cpp· +19/-45src/host/main.cpp· +44/-0src/main.cpp· +16/-19src/platform/freertos/freertos_task_runner.cpp· +54/-11src/platform/host/host_environment.cpp· +0/-1src/platform/host/host_synchronization.cpp· +13/-0src/{runtime/task_runner.cpp => platform/host/thread_task_runner.cpp}· +6/-2src/platform/stm32/stm32_board_hooks_weak.cpp· +59/-0src/platform/stm32/stm32_flight_port.cpp· +34/-0src/runtime/synchronization.cpp· +18/-0tests/firmware_boundary_tests.cpp· +63/-0- … 共 26 个文件
✅ 提交 0fc5f87 · 提交者 dkjsiogu · 20:19
train: 优化姿态NN权重 / optimize attitude NN weights
📄 文件统计
| 项目 | 数量 |
|---|---|
| 新增 | 1252 |
| 修改 | 10 |
| 删除 | 390 |
CMakeLists.txt· +5/-0README.md· +12/-0helloagents/CHANGELOG.md· +2/-0helloagents/context.md· +4/-0helloagents/modules/flight_control_stack.md· +2/-0output/flight_evaluation_metrics.csv· +5/-5output/flight_evaluation_report.md· +6/-6src/model/generated_policy.cpp· +844/-379tools/export_linear_policy.py· +179/-0tools/policy_search.cpp· +193/-0
✅ 提交 1032a21 · 提交者 dkjsiogu · 23:17
train: 扩大姿态NN容量 / expand attitude NN capacity
📄 文件统计
| 项目 | 数量 |
|---|---|
| 新增 | 2340 |
| 修改 | 12 |
| 删除 | 177 |
README.md· +3/-1helloagents/CHANGELOG.md· +3/-0helloagents/context.md· +1/-1helloagents/modules/flight_control_stack.md· +2/-2include/flight_control/model/static_mlp_policy.hpp· +2/-2output/flight_evaluation_metrics.csv· +5/-5output/flight_evaluation_report.md· +6/-6src/model/generated_policy.cpp· +1912/-48tests/system_eval_tests.cpp· +3/-3tools/export_linear_policy.py· +159/-61tools/policy_search.cpp· +243/-48tools/static_policy_params.txt· +1/-0