Hello everyone,
I am trying to implemnt two MPC controllers in one Simulink file with one for speed control and another for steering control. The question is that these two MPCs have different Inputs/Outputs. Therefore, they can not share the same grampc_run_sfct.c file. In this way, how can we compile two GRAMPCs ? I mean they do not need to built 'simultaneously', just to make the two groups of MEX files will not intervene with each other.
Thanks.
Sincerely,
ZJ
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
have you already tried to rename the files using some kind of prefix/suffix? A good start could be the example Reactor_CSTR with startMHE.m, where MPC and MHE using GRAMPC are running "simulatenously". A similar approach should also work for grampc_run_sfct.
Regards,
Andreas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I am trying to implemnt two MPC controllers in one Simulink file with one for speed control and another for steering control. The question is that these two MPCs have different Inputs/Outputs. Therefore, they can not share the same grampc_run_sfct.c file. In this way, how can we compile two GRAMPCs ? I mean they do not need to built 'simultaneously', just to make the two groups of MEX files will not intervene with each other.
Thanks.
Sincerely,
ZJ
Hello Zejiang,
have you already tried to rename the files using some kind of prefix/suffix? A good start could be the example Reactor_CSTR with startMHE.m, where MPC and MHE using GRAMPC are running "simulatenously". A similar approach should also work for grampc_run_sfct.
Regards,
Andreas