drivingScenario object enables you to author driving scenarios
from the MATLAB® command line. Use this object to design complex road networks
or parking lots and specify actors and their trajectories. You can then
generate synthetic data from these scenarios by using sensor models and
visualize this data on a bird's-eye plot.
The flexible interface of the
drivingScenario object enables you to create variations of a scenario for rapidly testing driving algorithms under various conditions. For more details, see Create Driving Scenario Variations Programmatically.
|Create driving scenario|
|Advance driving scenario simulation by one time step|
|Plot driving scenario|
|Run driving scenario and record actor states|
|Restart driving scenario simulation from beginning|
|Update driving scenario plots|
|Export driving scenario to ASAM OpenDRIVE or ASAM OpenSCENARIO file|
|Add actor to driving scenario|
|Add vehicle to driving scenario|
|Create actor or vehicle trajectory in driving scenario|
|Create smooth, jerk-limited actor trajectory in driving scenario|
|Inertial ground-truth state of actor|
|Positions, velocities, and orientations of actors in driving scenario|
|Physical and radar characteristics of actors in driving scenario|
|Add a barrier to a driving scenario|
|Ego-centric projective perspective plot|
|Mesh vertices and faces relative to specific actor|
|Outlines of targets viewed by actor|
|Target positions and orientations relative to ego vehicle|
|Convert target poses from scenario to ego coordinates|
|Convert target poses from ego to scenario coordinates|
|Add road to driving scenario or road group|
|Add road network to driving scenario|
|Get road boundaries|
|Convert road boundaries to ego vehicle coordinates|
|Mesh representation of roads near actor|
|Store specifications for road junction or intersection|
|Add road junction or intersection to driving scenario|
|Create road lane specifications|
|Create road lane type object|
|Create road lane marking object|
|Lane marking vertices and faces in driving scenario|
|Get current lane of actor|
|Get lane boundaries of actor lane|
|Clothoid-shaped lane boundary model|
|Compute lane boundary points from clothoid lane boundary model|
|Create multiple lane specifications for road|
|Define road segment connector specifications|
|Generate radar sensor detections and tracks from driving scenario|
|Generate vision detections for driving scenario|
|Generate lidar point cloud data for driving scenario|
|Inertial navigation system and GNSS/GPS simulation model|
|Mesh representation of extended object|
|Translate mesh along coordinate axes|
|Rotate mesh about coordinate axes|
|Scale mesh in each dimension|
|Apply forward transformation to mesh vertices|
|Join two object meshes|
|Auto-scale object mesh to match specified cuboid dimensions|
|Display the mesh as a patch on the current axes|
|Mesh representation of bicycle in driving scenario|
|Mesh representation of car in driving scenario|
|Mesh representation of pedestrian in driving scenario|
|Mesh representation of truck in driving scenario|
|Mesh representation of Jersey barrier in driving scenario|
|Mesh representation of guardrail in driving scenario|
|Plot detections, tracks, and sensor coverages around vehicle|
|Coverage area plotter for bird's-eye plot|
|Detection plotter for bird's-eye plot|
|Track plotter for bird's-eye plot|
|Lane boundary plotter for bird's-eye plot|
|Lane marking plotter for bird's-eye plot|
|Mesh plotter for bird's-eye plot|
|Path plotter for bird's-eye plot|
|Point cloud plotter for bird's-eye plot|
|Outline plotter for bird's-eye plot|
|Display sensor coverage area on bird's-eye plot|
|Display object detections on bird's-eye plot|
|Display lane boundaries on bird’s-eye plot|
|Display lane markings on bird’s-eye plot|
|Display parking lane markings on bird’s-eye plot|
|Display object meshes on bird's-eye plot|
|Display object outlines on bird's-eye plot|
|Display barrier outlines on bird's-eye plot|
|Display actor paths on bird’s-eye plot|
|Display generated point cloud on bird's-eye plot|
|Display object tracks on bird's-eye plot|
Programmatically create ground truth driving scenarios for synthetic sensor data and tracking algorithms.
Programmatically create road junctions and combine these junctions to create more complicated road networks.
Simulate a parking maneuver and generate sensor detections in a large parking lot using a cuboid driving scenario.
Programmatically create actor and vehicle trajectories for a driving scenario.
Programmatically create variations of a driving scenario that was built using the Driving Scenario Designer app.
Configure and use a bird's-eye plot to display sensor coverage, detections, and tracking results around the ego vehicle.
Model a highway scenario with intelligent vehicles that are controlled by decision logic defined by a Stateflow® chart.
Model and simulate the output of an automotive radar sensor for various driving scenarios.
Model the hardware, signal processing, and propagation environment of a radar for a driving scenario.
Generate ghost targets that occur when signal energy is reflected off another target before returning to the radar.
Model and simulate the output of an automotive vision sensor for various driving scenarios.
Simulate Inertial Sensor Readings from a Driving Scenario (Navigation Toolbox)
Generate synthetic sensor data from IMU, GPS, and wheel encoders using driving scenario generation tools from Automated Driving Toolbox™.