Where can I find the dependency files for creating the example RoadRunner-Matlab User-Defined Action: Design Vehicle Following User-Defined Actions Scenario in RoadRunner

3 次查看(过去 30 天)
I am following RoadRunner Scenario User's Guide to create an example scenario using user-defined actions. In the instruction there are some dpendency files that I have to add them to the RR project folder but I cannot find them anywhere. Do you know where should I get them from:
Paseted from the User's guid:
Add these files to the appropriate folders within your RoadRunner project.
• ScenarioBasic_MATLAB_UDA.rrscene — Scene file for the MATLAB-RoadRunner cosimulation
example.
• SimpleUDA_ML.rrscenario — Scenario file based on ScenarioBasic_MATLAB_UDA.rrscene.
• CustomDriverAction.rraction.rrmeta — Action asset file that contains the list of custom
parameters of a user-defined action with associated values. Here, the name of the user-defined
action is CustomDrive. The initial values of custom parameters Steering Angle and
ThrottleLevel are 0 and 30, respectively. This file is required for scenario simulation by both
MATLAB and Simulink. For more information about creating an action asset file, see “User-
Defined Actions” on page 3-96.
• hUDA_ML.m — MATLAB System object file that processes the user-defined actions.
• UDA_VB.rrbehavior.rrmeta — Behavi

回答(1 个)

Nihal Reddy
Nihal Reddy 2023-4-10
I understand you are not able to locate files required to simulate the User-Defined Action Scenario example in RoadRunner.
First open a MATLAB instance and type the following command in the command prompt-
>> openExample('roadrunnerscenario/ModelVehicleBehaviorUsingUserDefinedActionsExample')
After executing the command the folder location for the required will be opened in MATLAB and you access the files from there.
The path for the required files will be as follows-
'...\Documents\MATLAB\Examples\R2022b\roadrunnerscenario\ModelVehicleBehaviorUsingUserDefinedActionsExample'
Please refer to the following MATLAB documenation link for more information regarding designing user-defined actions scenario-

类别

Help CenterFile Exchange 中查找有关 Design and Simulate Scenarios 的更多信息

产品


版本

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by