This project contains an extension of OTS (https://github.com/averbraeck/opentrafficsim) for the i4Driving research project. In this project OTS is extended to be a suitable testing environment for self-driving vehicles. This is achieved by letting automated vehicles drive in simulation, interacting with vehicles that are modelled with state-of-the-art models for human drivers. These models include social interactions and human factors on perception and imperfect driving.
Results from the project are merged with the codebase of OTS. In particular:
- A model library for human drivers is available through the LmrsFactory, which creates the tactical behavioral model and the perception layer.
- A perception model based on the concept of the Attention Matrix is available at ChannelFuller. The implementation of the perception layer assigns a level of attention to different perception channels, resulting in different perception delays between different areas of attention. The concept of Fuller's task-capability interface relates overall task demand with task capacity, and drives behavioral adaptation on desired speed, desired headway, and possibly other factors. Perception errors on stimuli, in particular distance and speed differences, depend on the level of task saturation.
- A co-simulation interface is available under OtsTransceiver*. This can be used to integrate the i4Driving model in to any driver simulator or microscopic simulation tool. A full description of the features and technical implementation is available in a project document, and will also be documented within OTS.
- Various other elements developed in the project are also available, including visualizations of the human factors:
- PerceptionAnimation to animate level of attention and perception delays on a GTU,
- AttentionGtuColorer to indicate the maximum level of attention of a GTU,
- extended data types for trajectory output TaskDemandData,
DataTypeAttentionas AttentionData, andExtendedDataRhoandTaskSaturationDataas NumericParameterData, - and ContourPlotExtendedData to provide a space-time contour plot visualization, and DistributionPlotExtendedData to provide a distribution plot, of any extended trajectory data type.
*) To be integrated with the OTS codebase.