Mindmap
Spike Prime Mind map
Inhalt der Mindmap
Spike Prime Mind map
Task requirements
- Prescribed criteria
- Follow a safe path to the exit
- The robot uses colour sensor to detect where the black path follows
- Use sensor to identify any dangers or obstacles.
- Colour sensor: detect when the path changes
- Distance sensor: detect if an object blocks the path
- Use sensor(s) to avoid or manoeuvre any dangers or obstacles.
- Distance sensor: stops the robot before it can crash
- Colour sensor: navigate back to the black path once the barrier is cleared
- Complete a room-specific challenge.
- The robot will navigate the black path using colour sensor
- Once a barrier is detected through distance sensor and colour sensor, activate a code that will move it out of the way
- Follow a safe path to the exit
- Self-determined criteria
- Use robot LED panel to display “tuff” after the solution is completed.
- Create a functioning code that displays “tuff” on the LED panel after the obstacle.
- “tuff” will only appear once the robot has completed the path
- Use robot LED panel to display “tuff” after the solution is completed.
- Prescribed criteria
Spike Prime robot
- Motors
- Rotation sensors allow both the medium and large SPIKE Prime motors to measure the motor’s speed and its position. • Motor position can be measured as their position in degrees.
- Distance sensor
- The Distance Sensor measures distance to an object or surface using ultrasound. • It works by sending out high frequency sound waves that bounce off any object in range, and measuring how long it takes the sound to return to the sensor.
- Other sensors
- Color sensor: three main modes: color, reflected light, and ambient light.
- Motors
Planned response
- Rockfall challenge
- The robot will safely navigate the black path to the exit. However, there is a barrier present. The robot must move it out of the way and safely continue to the exit.
- The robot will detect the barrier using distance sensor. It will determine if it is moveable or heavy using the touch sensor. If it is pressed, all motions will stop. Else, the robot will navigate to a side of the block and push it out of the ay. The robot will the continue to the black path.
- The robot will safely navigate the black path to the exit. However, there is a barrier present. The robot must move it out of the way and safely continue to the exit.
- Poison ivy challenge
- The robot will safely navigate the black path to the exit. However, there is a barrier present. The robot must navigate around the barrier. The robot will then continue to the black path.
- Rockfall challenge
Algorithm constructs
- Iteration
- Used when something is repeated over and over again, so the program goes round in a loop
- Selection & Condition
- A selection statement uses a condition to select which line of the program will be used next
- Assignment
- Assignment is when value is stored of an expression in a variable
- Sequence
- A set of instructions that are processed one after the other
- Iteration
Code constructs
- IF statement
- An IF statement is a fundamental control structure in programming that allows code execution based on whether a specialized condition evaluates to True or False. If the condition is true, a block of code runs. Otherwise, it is skipped or an alterrnative block runs/
- IF colour sensor IS EQUAL TO black THEN move right:40 ELSE move left:-30
- An IF statement is a fundamental control structure in programming that allows code execution based on whether a specialized condition evaluates to True or False. If the condition is true, a block of code runs. Otherwise, it is skipped or an alterrnative block runs/
- FOR loop
- Like Dislike A for statement is a control flow construct used to repeat a block of code a specific number of times, typically when the number of iterations is known in advance.
- Like Dislike A for statement is a control flow construct used to repeat a block of code a specific number of times, typically when the number of iterations is known in advance.
- Other code constructs
- IF statement
Informationen
- Beschreibung
- Mindmap am Spike Prime Mind map, erstellt von a t am 04/08/2026.
- Erstellt von
- a t
- Aufrufe
- 1
- Bewertung
Mehr zu LEGO SPIKE Prime Programming