优化器通过 OptimizeWithEvaluator 传回调函数,回调接收 correction 后 经真实动画链路评估。动画链路 targetYaw = pathYaw + correctionY, 导致 correction.Y 被错误地当成额外增量而非绝对角度。 修复: 回调内从 correction 的 up 轴角度扣除路径 yaw, 使 targetYaw = pathYaw + (correctionY - pathYaw) = correctionY。 优化器现在正确地将 correction 作为从 CAD 出发的总 yaw 角度搜索。 |
||
|---|---|---|
| .. | ||
| Commands | ||
| Core | ||
| PathPlanning | ||
| UI/WPF | ||
| Utils | ||