Hi everyone!
I am modelling a car on Simscape/Simulink within a skidpad test. The 3 main blocks are Skidpad track, driver commands and my vehicle. I have issues linking the Reference and Lights control outputs from the Predictive Driver to the vehicle subsystem, which results in the loop not having a start point. I tried inputting the reference (lat and long positions) directly to the 3DOF vehicle body, but it still didn't work. Would anyone be able to help me on this?
Also, should I use a bus creator to separate each Driver output and link them individually to the relevant vehicle input? Or is linking the Driver Commands output to all vehicle inputs enough?
Last, I am not sure how to use the decelleration and lights control outputs, or where to link them in my model. I don't have a braking block in my vehicle model, as from what I understand I have to choose between a velocity input and a force on wheels input. Is there a way to combine these two in order to have a braking system in the model while using the velocity out of the suspension?
As a reference, my model is attached to this post, with most of my questions related to the vehicle subsystem. I haven't inputted all the data specific to my car, which is why the numbers within the blocks seem odd/unrealistic.
Thank you in advance!