|
Post by henuz96 on Nov 19, 2018 13:32:05 GMT 1
I'm currently in a group of 4 trying to run a Adams model of a F4 car in Cruden Panthera.
We have so far made the model of the F4 car in Adams and are currently in the process of creating an Input and Output Model in Simulink for the F4 Model. (using adams_sys)
What we are stuck on is how to run the F4 car in cruden while also using the input and outputs of the Simulink Model.
Hope this makes sense
Henry
|
|
ioh
New Member
Cruden Employee
Posts: 8
|
Post by ioh on Nov 19, 2018 17:24:05 GMT 1
Hi Henry,
I would suggest using the input and output blocks (Panthera to Ephyse and Ephyse to Panthera) from "CrudenSimulinkVehicleModel.mdl" stored in <install_dir>\Panthera\data\cars\formula_student\ephyse_net\v0, and putting them in your Simulink/ADAMS model. Connect the inputs and outputs of these blocks to their respective inputs and outputs in your Simulink/ADAMS model. To make things easy store your model in the same directory as the "CrudenSimulinkVehicleModel.mdl" file, it will spare you a lot of configuration hastle. This should help you interface with panterha, also make sure your you have added <install_dir>\ePhyseNet\blocks_x64 to your MATLAB path if you are using a 64-bit matlab or <install_dir>\ePhyseNet\blocks_x86 if you are using a 32-bit matlab. Finally make sure your model is able to run in realtime.
I hope this clears some things up, if you have any questions I would be more than happy to help.
Kind regards,
Omar
|
|