summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
];