Negative velocity curve from vehicle body block

2 次查看(过去 30 天)
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!

回答(1 个)

Martin
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.

类别

Help CenterFile Exchange 中查找有关 Vehicle Scenarios 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by