필터 지우기
필터 지우기

How to make visualization of multi-vehicle motion?

조회 수: 1 (최근 30일)
Veronika Mazulina
Veronika Mazulina 2020년 1월 17일
답변: KSSV 2020년 1월 17일
I calculated a path for every vehicle in the system. A path is a matrix [x-coordinate, y-coordinate, orientation, time moment]. The problem is that the time vector for every vehicle is different since they move with non-constant velocity. The question is how to make a visualization of their motion in this case? For the visualization, I need that vehicles have uniform time vector.

채택된 답변

KSSV
KSSV 2020년 1월 17일
Use interpolation and get all the vehicles to the same time vector. Read about interp1. When you do this, your position of each vehicle different at a specific time step.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Automotive에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by