Dear all:
Sorry for my English
I'm a rookie but interesting in vehicle control. So I just downloaded the control model(https://github.com/TUMFTM/mod_vehicle_dynamics_control.git) and study it. Then I did some simplify to make the model simpler.
But I didn't modified the trajectory tracking module because I don't know well about the algorithm.So it remains the state of simulink matlab function model input and S-Function OSQP solver for Calculation.
After that I want to deploy the model and the solver to the MCU to control the vehicle. I just met some trouble on this step.
My final aim is to trans my simulink model into C code and deploy the code onto our MCU, an Infineon 32-bit-tricore-microcontroller-TC397. Actually, I use simulink coder to generate the code, and use Aurix Development Studio to compile the code, and then burn the code into the MCU.
The errors occurred for compiling the code generated from the model in simulink in Aurix Development Studio. And the errors show that some .h files are lacked in OSQP solver files. What's more, the .h files are Disorganized for their source. They are from like VC environment like windows.h and MATLAB source and so on. The total amount of these files is very large, and even if they are added, some code will not be recognized during compilation. So I think I can not use the way to compile the code and run the code in the MCU, including the OSQP solver.
I just wanna know whether the way I deploy the model algorithm and the OSQP solver are wrong. How did you deploy them? Did anyone had the same or similar trouble and how to solve the trouble?
This problem has been bothering me for more than a month, which has caused my research progress to be greatly delayed and I am exhausted.
Looking forward your reply and it would be a great honor for me to get your help.
Dear all:
Sorry for my English
I'm a rookie but interesting in vehicle control. So I just downloaded the control model(https://github.com/TUMFTM/mod_vehicle_dynamics_control.git) and study it. Then I did some simplify to make the model simpler.
But I didn't modified the trajectory tracking module because I don't know well about the algorithm.So it remains the state of simulink matlab function model input and S-Function OSQP solver for Calculation.
After that I want to deploy the model and the solver to the MCU to control the vehicle. I just met some trouble on this step.
My final aim is to trans my simulink model into C code and deploy the code onto our MCU, an Infineon 32-bit-tricore-microcontroller-TC397. Actually, I use simulink coder to generate the code, and use Aurix Development Studio to compile the code, and then burn the code into the MCU.
The errors occurred for compiling the code generated from the model in simulink in Aurix Development Studio. And the errors show that some .h files are lacked in OSQP solver files. What's more, the .h files are Disorganized for their source. They are from like VC environment like windows.h and MATLAB source and so on. The total amount of these files is very large, and even if they are added, some code will not be recognized during compilation. So I think I can not use the way to compile the code and run the code in the MCU, including the OSQP solver.
I just wanna know whether the way I deploy the model algorithm and the OSQP solver are wrong. How did you deploy them? Did anyone had the same or similar trouble and how to solve the trouble?
This problem has been bothering me for more than a month, which has caused my research progress to be greatly delayed and I am exhausted.
Looking forward your reply and it would be a great honor for me to get your help.