
VEX Robotics Computer Science Level 1 Python Course

Špecifikácie
| Samozrejme | Computer Science Level 1 – Python |
|---|---|
| Jednotka | 4 |
| Lekcia | 3 |
| Téma | Driving Until Pressed Quiz |
Návod na použitie
Kód Example
def main():
while not left_bumper.pressed():
drivetrain.drive(FORWARD)
wait(5, MSEC)
drivetrain.drive_for(REVERSE, 200, MM)
Otázka 1
What will the VR Robot do when the Bumper Sensor is pressed in this project?
- Turn right for 180 degrees.
- Stop driving.
- Turn right for 90 degrees.
- Drive in reverse for 200 millimeters (mm).
Kód Example
def main():
while not left_bumper.pressed():
drivetrain.drive(FORWARD)
wait(5, MSEC)
drivetrain.turn_for(RIGHT, 90, DEGREES)
while not left_bumper.pressed():
drivetrain.drive(FORWARD)
wait(5, MSEC)
drivetrain.turn_for(LEFT, 90, DEGREES)
Otázka 2
What needs to happen for the VR Robot to turn left in this project?
- The Left Bumper Sensor needs to be pressed once.
- The VR Robot needs to drive for 300 millimeters (mm).
- The Left Bumper Sensor needs to be pressed twice.
- The pen needs to draw a circle on the Playground.
Autorské práva 2021 Innovation First, Inc. (obchodná značka VEX Robotics). Všetky práva vyhradené. Úplné podmienky autorských práv nájdete na https://copyright.vex.com/
Dokumenty / zdroje
Referencie
- copyright.vex.com/copyright.vex.com
- Používateľská príručkamanual.tools
Published: June 10, 2026
Aktualizované: 11. júna 2026



















