feat: integrate trajectory tracking controller runtime

This commit is contained in:
梁薄云
2026-08-10 13:26:56 +08:00
parent f923affc8f
commit 54ef239231
29 changed files with 5135 additions and 0 deletions
@@ -0,0 +1,19 @@
namespace MultiWheelC.Control.Abstractions
{
/// <summary>
/// 定义Stanley、LQR和MPC等车体中心横向控制器的统一接口。
/// </summary>
public interface ILateralController
{
/// <summary>
/// 根据本周期车辆状态和轨迹误差计算车体中心目标曲率。
/// </summary>
LateralControlCommand Compute(
PathTrackingContext context);
/// <summary>
/// 清除控制器跨周期状态,以便开始新轨迹或异常恢复后重新运行。
/// </summary>
void Reset();
}
}