summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNao Pross <np@0hm.ch>2023-05-03 16:26:24 +0200
committerNao Pross <np@0hm.ch>2023-05-03 16:26:24 +0200
commit4ba22753628babcb862c3772eedfec239c22502c (patch)
tree63fb9b234bcf2df0f9f96a1f259cb7224f47af68
parentFIX: Add symlinks to .gitignore (diff)
downloadmpc_pe-4ba22753628babcb862c3772eedfec239c22502c.tar.gz
mpc_pe-4ba22753628babcb862c3772eedfec239c22502c.zip
FIX: pass traj_constraints
-rw-r--r--templates/traj_constraints.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/traj_constraints.m b/templates/traj_constraints.m
index c87bed6..ec197f3 100644
--- a/templates/traj_constraints.m
+++ b/templates/traj_constraints.m
@@ -24,6 +24,7 @@ function [s_max, y_max, u_max, J_u, df_max, vf_max, traj_feas] = traj_constraint
constr = [
s_max <= params.constraints.MaxAbsPositionXZ, ...
y_max <= params.constraints.MaxAbsPositionY, ...
+ u_max <= params.constraints.MaxAbsThrust, ...
df_max <= params.constraints.MaxFinalPosDiff, ...
vf_max <= params.constraints.MaxFinalVelDiff
];