Negative velocity curve from vehicle body block

조회 수: 1(최근 30일)
Vinay Gurram
Vinay Gurram 2021년 7월 9일
답변: Martin 2021년 7월 14일
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!


Martin 2021년 7월 14일
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.

Community Treasure Hunt

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

Start Hunting!

Translated by