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

6 vues (au cours des 30 derniers jours)
Bo Lin
Bo Lin le 5 Nov 2019
Commenté : Tanvir ALLIDINA le 12 Juil 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

Réponses (1)

Gouri Chennuru
Gouri Chennuru le 6 Mar 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!

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by