MATLAB Answers

How to make visualization of multi-vehicle motion?

3 views (last 30 days)
Veronika Mazulina
Veronika Mazulina on 17 Jan 2020
Answered: KSSV on 17 Jan 2020
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.

  0 Comments

Sign in to comment.

Accepted Answer

KSSV
KSSV on 17 Jan 2020
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 Comments

Sign in to comment.

More Answers (0)

Sign in to answer this question.