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.
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.
The Sense-Think-Act Cycle
Robots operate on a continuous cycle of sensing, thinking, and acting:
- Sense: The robot gathers information about its environment using sensors.
- Think: The robot processes this information and makes decisions based on its programming.
- Act: The robot takes action based on these decisions, using its actuators (motors, etc.).