MATLAB Answers

How to change /rotate the initial pose of the ego vehicle in the bird eye view ??

6 views (last 30 days)
just try to change the initial pose of the ego car towards the direction of arrow in the bird-eye view in matlab after running the simulation ,urgent help will be highly appreciated ,thanks

  0 Comments

Sign in to comment.

Accepted Answer

Asvin Kumar
Asvin Kumar on 28 May 2020
In the Driving Scenario App, you can change the Yaw for the required actor under the Actors tab to a negative value.
A good initial guess would be rad2deg(atan(20/50)).

  3 Comments

Muhammad Iqbal
Muhammad Iqbal on 29 May 2020
Hi Asvin ;thanks for the suggestion but I found that in the scenario designer app currently no access the ego vehicle cordinate data (like yaw,pitch and roll) as see in the below fig:
also some related evidence are mentioned in this coment and consider such changes for future release.I am able to rotate the ego vehicle programaytically by folowing the given explanation here in the designer app like
but after simulation In the Bird eye view the ego vehicle direcrion always found north , here my goal is to see the vehicle in the arrow direction like:
so that the camera cover all the three lanes instead of left one .can you suggest me any possible direction here or the ego vehicle data access goes in future released
thanks
Asvin Kumar
Asvin Kumar on 29 May 2020
The link to the documentation you mentioned about creating a drivingScenario object, exporting it, modifying it and then importing it back into the app is the best way to go about it.
The solution I mentioned works if you haven't added any waypoints yet.

Sign in to comment.

More Answers (0)