To configure vehicle scenarios, use the drive cycle, driver, and 3D simulation blocks.
Drive Cycle Source block — Generates a standard
or user-specified longitudinal drive cycle. By default, the
block includes the
FTP–75 drive cycle. To
install additional drive cycles from a support package, see
Support Package For Maneuver and Drive Cycle Data. The support package has drive cycles that include gear shift
schedules, for example
Driver blocks — Implement controllers that generate normalized steering, acceleration, and braking commands to track velocity or displacement.
3D visualization blocks — Integrate 3D visualization environment with Simulink® so that you can interrogate the world around the vehicle for virtually testing perception, control, and planning algorithms.
|Simulation 3D Actor Transform Get||Get actor translation, rotation, scale|
|Simulation 3D Actor Transform Set||Set actor translation, rotation, scale|
|Simulation 3D Camera Get||Camera image|
|Simulation 3D Message Get||Retrieve data from Unreal Engine visualization environment|
|Simulation 3D Message Set||Send data to Unreal Engine visualization environment|
|Curved Road||Curved road 3D environment|
|Double Lane Change||Double lane change 3D environment|
|Open Surface||Open surface 3D environment|
|Large Parking Lot||Large parking lot 3D environment|
|Parking Lot||Parking lot 3D environment|
|Straight Road||Straight road 3D environment|
|US City Block||US city block 3D environment|
|US Highway||US highway 3D environment|
|Virtual Mcity||Virtual Mcity 3D environment|
Use the Simulation 3D Message Set and Simulation 3D Message Get blocks to communicate with the double-lane change scene.
To customize scenes, use the Vehicle Dynamics Blockset™ Interface for Unreal Engine 4 Projects support package.
Install drive cycle and maneuver data from a support package.
The vehicle dynamics models run maneuvers in a 3D environment.