Is there a variable of time in the Driving Scenario Designer app?

2 visualizaciones (últimos 30 días)
Bo Lin
Bo Lin el 5 de Nov. de 2019
Comentada: Tanvir ALLIDINA el 12 de Jul. de 2021
Hi,
In the Driving Scenario Designer app,I want to set the speed of the vehicle as a function of time instead of constant speed, but I can't find the variable you set for the time in the app.For example,speed can be written as speed=3*T,where T is the travel time of the vehicle.So,how to represent the travel time T in the app?
Thank you,
Lin Bo

Respuestas (1)

Gouri Chennuru
Gouri Chennuru el 6 de Mzo. de 2020
In my understanding from the question, it is required to change the speed with respect to the time, but the functionality is currently not supported in MATLAB R2019b. A workaround for doing the same could be exporting the code to MATLAB and changing the speeds with respect to the simulation time.
Hope this helps!

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by