Change weather in RoadRunner Scenario

9 次查看(过去 30 天)
Dear Mathworks support team,
how can i change the weather and day/night settings in the RoadRunner Scenario?
Thank you for assistance
Best regards
Javid

回答(2 个)

Rishi
Rishi 2024-4-22
Hi Javid,
I understand from your question that you want to know how to change the weather settings in RoadRunner Scenario.
You can use a 'lidarSensor' for this. The 'lidarSensor' can be configured for different weather conditions, and then add it to the vehicle actors in RoadRunner Scenario. You can find an implementation of the same in the below example:
You can learn more about 'lidarSensor' from the below documentation:
Here is an example showing how to generate Lidar point cloud data for Scenario with multiple actors:
You can also use the 'Simulation 3D Scene Configuration' Block in Simulink to implement different environments and is rendered using the Unreal Engine. Here is the documentation for the same:
Hope this helps!
  1 个评论
Javid
Javid 2024-5-17
Hi Rishi,
Thank you for your thorough response.
Actualy i will not use the 'lidarSensor'. I just want to simulate a simple collision or accident scenario with basic cars and without any specific sensors in different weather conditions such as rainy, sunny, foggy, or even at night and day. How can I do this?
Also i'm a student, I don't have a license to use the 'Simulation 3D Scene Configuration'.

请先登录,再进行评论。


Nishan Nekoo
Nishan Nekoo 2024-7-3
Hi Javid, changing the weather and day/night settings in RoadRunner Scenario is not currently supported but the team may consider improving this in a future product release.
In the mean time, to obtain weather effects, you can co-simulate RoadRunner Scenario with the Unreal Engine, and use the Simulation 3D Scene Configuration block to configure the weather. As you noted above however, this does require a license of Simulink 3D Animation. Here is a relevant example:
https://www.mathworks.com/help/driving/ug/autonomous-emergency-braking-with-high-fidelity-vehicle-dynamics.html

产品


版本

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by