diff options
author | Nao Pross <np@0hm.ch> | 2023-05-03 16:26:24 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2023-05-03 16:26:24 +0200 |
commit | 4ba22753628babcb862c3772eedfec239c22502c (patch) | |
tree | 63fb9b234bcf2df0f9f96a1f259cb7224f47af68 | |
parent | FIX: Add symlinks to .gitignore (diff) | |
download | mpc_pe-4ba22753628babcb862c3772eedfec239c22502c.tar.gz mpc_pe-4ba22753628babcb862c3772eedfec239c22502c.zip |
FIX: pass traj_constraints
-rw-r--r-- | templates/traj_constraints.m | 1 |
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 ]; |