Clear Filters
Clear Filters

RoadRunner​设计的交互场景可以直​接导出车辆相关的速度​或者加速度曲线吗

4 views (last 30 days)
天长
天长 on 13 Nov 2023
Answered: Zuber Khan on 13 Dec 2023
除了跟MATLAB联合仿真,是否可以单独使用RoadRunner导出交互场景中车辆的速度或者加速度曲线

Answers (1)

Zuber Khan
Zuber Khan on 13 Dec 2023
Hi,
I understand that you want to know if RoadRunner can be used alone to export the speed or acceleration curve of the vehicle in the interactive scene.
RoadRunner itself cannot be used alone to export the speed or acceleration curve of a vehicle in the interactive scene.
The primary function of RoadRunner is to design road networks, intersections, and other environmental features that are then used within vehicle simulation software. It does not have the capability to simulate vehicle dynamics like speed or acceleration directly.
A scene with moving objects is called a scenario and you can export all the trajectory points, speed changes, positions in a scenario to suitable format such as ASAM OpenSCENARIO. To know more on how to export RoadRunner scenario using MATLAB, kindly follow the below documentation link:
After exporting, you can use any scenario simulation tool to analyze vehicle dynamics such as velocity and acceleration.
In order to accomplish this in MATLAB, first you need to connect MATLAB and RoadRunner to control and analyze simulations. For in-depth details on how to do it, please refer to the following documentation link:
Then, to run and visualize scenarios in RoadRunner Scenario using MATLAB functions, kindly refer to the following link:
Specifically, as an illustration, to retrieve the logged velocities of the vehicles from the simulation and plot their magnitudes against simulation time, follow the below mentioned documentation link:
I hope it resolves your query.
Best Regards
Zuber

Tags

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!