I want to input " waypoints " directly in runtime to the " drivingScenario " function of Automated Driving System Toolbox.
When I simulate, it runs once for the first pre-defined waypoint and then it says "The simulation is not running. Call restartSimulation to start over."
I used a while loop but it makes several figure plots in different new windows which is annoying and I don't think it would actually work that way.
So how to get input in runtime to move the vehicle/actor?
Best Answer