% 纯 MATLAB 复现 STM32 main_hil.c 的控制器 + 运动学,生成 x_sim / y_sim。 % 轨迹、增益、步长、初始状态都与 STM32 完全一致 —— 这样和 stm32_log.csv 对比才有效。 % 运行后会得到 x_sim, y_sim(供 compare_stm32_vs_sim.m 叠加)。
🎯 Key Features Complete TEP simulation model (Python & MATLAB implementation) Linear MPC with constraint handling (comparison with NMPC & RMPC) Extended Kalman Filter for state estimation Digital ...