Are the full models available for vehicle dynamic blocks?

3 views (last 30 days)
I'm trying to use the blocks in the Vehicle Dynamics Blockset, but there's not quite enough in the documentation for me to understand the full model being used for various blocks.
For example, in the Vehicle Body 3 DOF block, I'm trying to derive complete equations of motion from the documentation, but the documentation only seems to include information on the forces and some accelerations.
It would be very nice if there was clear information available describing how the vehicle's position and orientation changes with each time step, or how yaw rate is calculated. I tried looking under the mask of the block to see if this would provide any more information, but it seems like the underlying code is protected.
In short, I'm looking for a clearer understanding of how the outputs are calculated from the inputs, but the documentation doesn't really organize the equations this way, and it seems like some helpful information is left out.
Is there any more information available for these models?
  11 Comments
Daniel
Daniel on 24 Dec 2024
Edited: Daniel on 24 Dec 2024
I keep coming across reasons why it would be nice if the models were fully open as advertised. Something is going on with the force calculations inside the P-code block that are causing the results to be slightly different than what the equations in the documentation yield. Is there really no way to access this?
aditi bagora
aditi bagora on 7 Jan 2025
I understand that you are noticing discrepancies between the results and the documented calculations. Unfortunately, there is no way of accessing the code within the P-code block. However, if you suspect there might be an error in the calculations, I recommend reaching out to MathWorks Technical support. You can raise a request using the following link: https://in.mathworks.com/support/contact_us.html
Hope this helps!

Sign in to comment.

Answers (0)

Categories

Find more on Block and Blockset Authoring in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!