Skip to main content
. 2024 Oct 22;24(21):6776. doi: 10.3390/s24216776
Algorithm 1 Perception and Decision-Making Process
Require: Sensor data I from cameras, LiDAR, radar, etc.
Ensure: Detected objects and driving decisions
  •   1:

    Input: Sensor data I

  •   2:

    Output: Bounding boxes B, object classes C, confidence scores S, and action at

  •   3:

    Step 1: Object Detection

  •   4:

    B,C,SM(I)           ▹ Apply selected CNN/Transformer model M

  •   5:

    Step 2: Decision Making

  •   6:

    Initialize state s0 based on B,C,S

  •   7:

    Define MDP components (S,A,T,R)

  •   8:

    Compute optimal policy π*=argmaxπEt=0γtR(st,at)π

  •   9:

    Select action at based on π*(st)

  • 10:

    Return:B,C,S,at