Robotics Fundamentals

This section explains the robotics concepts and how to control the robot using KodeVR.

Robot Movement

You can control the robot's movement using the blocks in the "Movement" category. These blocks allow you to:

  • Drive Forward: Move the robot forward.
  • Drive Backward: Move the robot backward.
  • Turn Left: Turn the robot left.
  • Turn Right: Turn the robot right.
  • Stop: Stop the robot.
Robot Control System Diagram

Sensors

You can use the blocks in the "Sensing" category to read data from the robot's sensors. These blocks allow you to:

  • Get Distance: Read the distance from the robot's distance sensor.
  • Get Heading: Read the robot's current heading.
Robot Sensor Overview

The Sense-Think-Act Cycle

Robots operate on a continuous cycle of sensing, thinking, and acting:

  1. Sense: The robot gathers information about its environment using sensors.
  2. Think: The robot processes this information and makes decisions based on its programming.
  3. Act: The robot takes action based on these decisions, using its actuators (motors, etc.).
Sense-Think-Act Cycle