fix_wust_mpc erro

This commit is contained in:
cyy_mac
2026-03-27 05:34:05 +08:00
parent 5d8ab40974
commit 649063d6b7

View File

@@ -290,6 +290,7 @@ void MpcPlanner::setupProblem() {
// Cost weights
Q_(0) = params_.Q_yaw_p;
Q_(1) = params_.Q_yaw_v;
R_.resize(1);
R_(0) = params_.R_yaw;
}