GoConqr has a new look! Let us know what you think.

Mind map

Robot Project

Rudra TIWARI English

Map content

Robot Project

  1. Prescribed Criteria

    • Follow the path using a line following algorithm.
      • I will make sure the robot always attempts to stay on the line.
      • I will create variables and blocks in the Spike Prime App to create a line following code more efficiently.
      • I will use the movement blocks in my code.
      • I will use the colour sensor block(s) in my code.
    • Detect and navigate around/move the obstacle using appropriate sensor/s on the Spike Prime.
      • I will use the wheels to move my robot around the obstacle.
      • I will utilise the ultrasonic sensor to detect the obstacle.
      • I will use the ultrasonic sensor block(s) in my code.
      • I will make sure the robot finds the line again after dealing with the obstacle.
      • I will make sure the robot checks if the obstacle is still there every time it moves a certain distance.
  2. Self-Determined Criteria

    • Complete the line-following course using the light display and the sound functions.
      • Have the robot display a smiley face when it is correctly following the line.
      • Have the robot display a sad face when it is not correctly following the line.
      • Have the robot make a high-pitched sound every time it goes back to following the line correctly.
      • Have the robot make a low-pitched sound every time it stops correctly following the line.
      • Have the robot play a sequence of sounds, and a sequence of light displays, to celebrate completing the course.
  3. Pseudocode Constructs

    • Sequence
      • A sequence is a number of instructions that are processed one after the other. Sequencing is the order in which the instructions are carried out.
    • Selection & Condition
      • A selection statement uses a condition to select, or determine, the next line of the program that is to be executed.
    • Iteration
      • Iteration is also called repetition and is used when something is repeated over and over again, so anything where the program goes round in a loop.
    • Modularisation
      • Modularisation is used to reduce the complexity of a system by deconstructing it into more or less independent units or modules. Functions are important because they allow us to take large complicated programs and to divide them into smaller manageable pieces and more easily maintained.
    • Assignment
      • Assignment is used to store the value of an expression into a variable.
  4. Pseudocode Language

    • IF
    • THEN
    • WHILE LOOP
    • FOR LOOP
    • START
    • END
    • END IF
    • END WHILE
  5. Planned Responses

    • 1. Start at the top left green area, with the colour sensor on the left of the black line.
      • 2. Every time the colour sensor detects white, move right, and when it detects black, move left.
        • 3. Every time green (intersection markers) is detected, add 1 to the variable. When the variable = 6, go to the other side of the line. When the variable = 7, go straight over the crossed lines, overriding the line following.
          • 4. Move around the obstacle, while constantly checking if it it still there in order to move around it using the sensors.
            • 5. Celebrate
    • 1. Start at the top right green area, with the colour sensor on the left of the black line.
      • 2. Every time the colour sensor detects white, move right, and when it detects black, move left.
        • 3. When the green intersection marker is detected, move to the right side of the line.
          • 4. Move around the obstacle, while constantly checking if it it still there in order to move around it using the sensors.
            • 5. Celebrate

Information

Description
Mind Map on Robot Project, created by Rudra TIWARI on 20/02/2024.
Created by
Rudra TIWARI
Views
2
Rating

More on LEGO SPIKE Prime Programming

Feedback

What is it about?

What do you think of the new look?

How do you like it?