Filter löschen
Filter löschen

Negative velocity curve from vehicle body block

2 Ansichten (letzte 30 Tage)
Vinay Gurram
Vinay Gurram am 9 Jul. 2021
Beantwortet: Martin am 14 Jul. 2021
I am trying to simulate a vehicle model using vehicle body block. I created the vehicle subsystem using some MathWorks references by connecting motor rotational output to tires(magic formula) and tires to vehicle body to get the velocity output. But when I try to simulate model my velocity is going in -Y axis. I tried changing the solver parameters but didn’t work. All of sudden, when I deleted the entire vehicle body sub system and recreated it l, I am getting the required output. What is the issue here ? Thanks in Advance!

Antworten (1)

Martin
Martin am 14 Jul. 2021
Hi Vinay,
It is difficult to say what happened, but it looks like recreating the subsystem worked. It may be possible that something was inadvertently wired backwards.

Kategorien

Mehr zu Vehicle Scenarios finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by