Resources to discover SCANeR

:arrow_left: Tutorial


This is a description and user manual of the sample included in the Samples Pack.



This sample shows how to control an Ego vehicle with your ADAS system.
The Ego vehicle drives on a straight road until a pedestrian crosses ahead. The ADAS AEB is in charge of performing the emergency braking in order to avoid collision.

This one is as simple as it gets for you to practice or to start from for your own projects.

How to use

  1. Load the SCANeR configuration SAMPLE_2022_ADAS_AEB (how?).

    The required modules start automatically.

    Notice the custom module ADAS_C in group SENSORS.

  2. Open the scenario pedestrian_crossing.sce.

  3. Start the simulation.

    Set the default AEB trigger distance.

    This is an interactive variable set in the MICE script.

    The Ego vehicle drives itself thanks to a Virtual Driver.

    When Ego reaches the trigger object (in red), the pedestrian starts crossing the road.

    This is the result of the MICE script’s rule “Pedestrian cross road”.

    When the distance between Ego and the pedestrian is lower than the trigger distance, the vehicle brakes.”

    This is the result of the ADAS_C custom module.

    The simulation stops automatically after 20 seconds.

    This is the result of the Stop Criteria “Final Time” in Ego’s Vehicle Instance Setup.

Use Python instead

  1. Stop the simulation.

  2. Stop the ADAS_C module.
    (Right Click > Stop process, or simply double-click on it)

  3. Start the ADAS_PY module instead.
    (Right Click > Start process, or simply double-click on it)

  4. Start the simulation

    From there the behaviour is the same as with the compiled module ADAS_ACC.



Checkout out the tutorial: How to evaluate and validate an ADAS system.
This sample is a direct application :)


:arrow_right: SAMPLE_ADAS_LKA_ACC