Multiple ego vehicle with same sensor added to the scenario at the same point in different simulation time

1 次查看(过去 30 天)
Hi,
I want to add multiple ego vehicles in the driving scenario with same characteristics and sensors at different time in the simulation from the starting point of the road? Can someone help me with this please? Thank you

采纳的回答

Asvin Kumar
Asvin Kumar 2020-4-6
Multiple ego vehicles are not supported by the Driving Scenario Designer App currently.
There are potential workarounds for some special cases. If you want only one ego vehicle on the road at any point in time, one possible solution is to have the ego vehicle travel from start point to end point and then to set its next waypoint back to the starting point. You would also in this case set the velocity from the end point sufficiently high to trick the sampling time of the trajectory calculation to avoid detecting any objects while moving/resetting from the end point.
If, on the other hand, your use case is to have one ego vehicle start and travel its path by some distance and in the meantime start the next ego vehicle from the original starting point, that is not possible. As I said earlier, concurrent ego vehicles are not yet supported by the App.

更多回答(0 个)

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by