Creating map for OpenSCENARIO - AD-EYE/AD-EYE_Core GitHub Wiki

Create map in Prescan

  • Create the map in Prescan that you want to use with the actors you want. Add cameras to the actors to let them be visible in Simulink (see Wiki -> Execution-> Run a simulation ).

  • Save the Prescan map in AD-EYE/Experiments and rename the main folder 'Simulation'.

  • Open the simulink (.slx) file. Make sure that the name of the cameras of the ego vehicle are called CameraSensor_1_CM_Demux and CameraSensor_2_CM_Demux.

  • Change the ROS Message length accordingly (see Wiki -> Execution-> Run a simulation). To do this ROS blocks need to be in the Simulink model and active. They can be commented out afterwards.

  • Change the maximum simulation time to your preference.

Images/Changing_ simulation_time.PNG

  • Toggle on 'Save results' in DISPLAY: Color CameraSensor block in Simulink if yo prefer to save the data.

Images/Toggle_save_results.PNG

  • Save the Simulink file.