Page 81 - Ai Robogenius
P. 81
The robot's drive velocity is set to 100%, ensuring that it moves quickly. 2. Which feature of robot allows it to draw lines, shapes and patterns on the playground
The robot sets the turn velocity to 100%, which means it will turn at maximum speed. surface when programmed?
The robot drives forward for 1600 mm and then turns right by 90 degrees to change direction. (i) Electromagnet (ii) Pen
The robot then enters a repeat loop, which will run 8 times.
(iii) Down eye (iv) Left bumper sensor
Inside the loop, the robot sets the cursor to the next row, which prepares it for the next set of
actions. 3. Mark the category of blocks that allow the robot to detect objects, measure distances or
track its rotation.
Another loop repeats 8 times, where the robot checks if the DownEye detects green.
Ÿ If green is detected, the robot sets the print colour to green and prints X. If green is not (i) Console blocks (ii) Logic blocks
detected, the robot sets the print colour to blue and prints X.
(iii) Sensing blocks (iv) Drivetrain blocks
Ÿ After this, the robot drives forward for 200 mm.
4. Spot the drivetrain block that moves the drivetrain continuously in the selected direction.
After each print action, the robot drives reverse for 1600 mm, turns 90 degrees right, drives
200 mm forward and then turns 90 degrees left. This sequence ensures the robot is ready (i) Drive forward block (ii) Turn right block
for the next loop iteration.
(iii) Stop driving block (iv) Drive is done? Block
ECOTECH Robots equipped with sensors like the Distance Sensor can detect objects ahead, preventing 5. Identify the drawing block that sets the pen colour to a selected value, enabling the robot
ENERGY collisions, which can be essential for safely navigating areas that require minimal human to draw in that colour.
interference, such as cleaning or waste processing zones. (i) Set pen to width [] (ii) Fill area with color []
(iii) Set pen to color [] (iv) None of these
B. Fill in the blanks using the given hints:
1. is an online coding environment that allows students to Hints
program a virtual robot using block-based or text-based coding. Robot
Blocks
2. The VEX VR comes with several built-in parts that help it VEXcode VR
sense, move and interact within the virtual playground. Drawing
3. In VEXcode VR, are the building blocks of your program. Drivetrain
4. blocks in VEXcode VR control the movement of a robot.
5. In VEXcode VR, blocks are used to create and control shapes on the virtual
playground.
C. Write ‘T’ for true and ‘F’ for false.
1. VEXcode is part of the VEX Robotics learning platform and can be
accessed directly from any web browser
2. You cannot customise the drivetrain using different configurations for
motor ports, speed and turn radius.
3. Electromagnet detects the colour or brightness of the surface directly
below the robot.
Getting Started with VEXcode VR
79

