pickup if beacon

Upload: salvauma

Post on 24-Feb-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/24/2019 Pickup if Beacon

    1/4

  • 7/24/2019 Pickup if Beacon

    2/4

    2

    2. ProblemDesign one program for maps Pick01 and Pick02. Check if there is a beacon in

    front, pick it up. Otherwise, turn around to pick up the beacon.

    Start

    Pick01 Pick02

    Action

    Hints:

    Check conditions

    Results Pick up beacon

  • 7/24/2019 Pickup if Beacon

    3/4

    3

    Pick01 Pick02

    3. ProblemDesign one program for maps Pick01, Pick02, Pick03 and Pick04. Check

    where the beacon is and pick it up.

    Start

    Pick01 Pick02 Pick03 Pick04

    Action

    Hints:

    Check conditions

  • 7/24/2019 Pickup if Beacon

    4/4

    4

    Results Pick up beacon

    Pick01 Pick02 Pick03 Pick04

    Parking01 Parking02 Parking03 Parking04

    PSMaterials are provided by Mr. LEE Hoi-chun, Rock and Ms. CHEUNG Mei-ling, Yvonne.