Robot Specific Blocks#

The VR Rover has access to the standard VR Drivetrain, Events, Control, Operators, Variables, My Blocks, and Comments blocks.

Drivetrain#

Go to object#

The Go to object block is used to turn and drive the VR Rover to face a specified object.

This is can be a non-waiting or waiting block depending on if the and don’t wait option is used.

Diagram of the Go to object block for VR Rover, illustrating its function to navigate towards specified objects.

Choose which object the VR Rover will go to. This could be minerals, an enemy, or the base.

Diagram of the Go to object block for VR Rover, illustrating its function to navigate towards specified objects.

If the VR Rover detects multiple minerals or multiple enemies, it will move to the closer option.

By default, the Go to object block will block any subsequent blocks from executing until it’s finished. By expanding the Go to object block to show and don’t wait, blocks will continue to execute while the VR Rover is moving.

VR Rover Go to object block, directing the rover to the closest mineral in the Rover Rescue Playground.

In this example, the VR Rover will turn and drive to the closest mineral.

VR Rover using the Go to object block to navigate towards the closest mineral in the Rover Rescue Playground.

Action#

Minerals action#

The Minerals action block is used to interact with minerals in the Rover Rescue Playground.

This is a non-waiting block and allows any subsequent blocks to execute without delay.

Image of the VR Rover interacting with minerals in the Rover Rescue Playground, showcasing various action blocks.

Choose what the VR Rover should do with the minerals.

VR Rover interacting with minerals in the Rover Rescue Playground, showcasing various action blocks and capabilities.

Picking up the minerals will place the minerals in the VR Rover’s storage. It will be carried around until the Minerals action block with either the ‘use’ or ‘drop’ is used in the project.

Using the minerals will replenish some of the VR Rover’s energy, as indicated by the battery icon in the Playground window. Minerals can only be used if they are on the ground.

The VR Rover will earn Experience Points (XP) by using minerals or dropping the minerals at the base.

In this example, the VR Rover will turn and drive to the closest mineral before picking it up.

VR Rover interacting with minerals in the Rover Rescue Playground, demonstrating absorption and storage capabilities.

Absorb enemy radiation#

The Absorb enemy radiation block is used to interact with enemies in the Rover Rescue Playground.

This is a non-waiting block and allows any subsequent blocks to execute without delay.

Block diagram illustrating the 'Absorb enemy radiation' action for the VR Rover in the Rover Rescue Playground.

In this example, the VR Rover will turn and drive to the closest enemy before absorbing the enemy’s radiation once.

VR Rover absorbing enemy radiation in the Rover Rescue Playground during an attack scenario.

Standby#

The Standby block is used to put the VR Rover into standby mode until the specified battery threshold is reached.

This is a waiting block and will not allow any subsequent blocks to execute until it has finished.

Standby block for VR Rover, used to conserve battery until a specified threshold is reached.

When in standby, the VR Rover will use its battery slower, but the Number of Days Survived counter will increase at a higher rate.

Once the battery level threshold is reached, the VR Rover will come out of standby, going back to consuming its battery and increasing the Number of Days Survived counter at the normal rate.

Choose the battery threshold value at which the VR Rover will exit standby mode.

VR Rover Standby block interface, showing battery threshold settings for standby mode in the Rover Rescue Playground.

In this example, the VR Rover will enter standby mode and wait until its battery has reached 35% before turning and moving to the closest mineral.

VR Rover in standby mode, conserving battery until it reaches a specified threshold before resuming actions.

Looks#

The VR Rover does not have access to the VR Pen, but it can still print to its Monitor Console.

Events#

When under attack#

The When under attack block is used to run the attached stack of blocks when the VR Rover is being attacked by an enemy.

Image depicting a VR Rover under attack, with visual indicators for enemy detection and radiation absorption.

In this example, the VR Rover will absorb the nearest enemy’s radiation once when it is under attack.

VR Rover under attack, preparing to absorb enemy radiation in the Rover Rescue Playground.

When level up#

The When level up block is used to run the attached stack of blocks each time the VR Rover moves from one level to another.

VR Rover 'When level up' block showing actions triggered upon leveling up in the Rover Rescue Playground.

In this example, the VR Rover will print to the Print Console a message when it levels up.

VR Rover leveling up, displaying a message on the Print Console after gaining experience points.

Sensing#

The VR Rover has access to the standard Brain, Drivetrain, and Distance Sensing Blocks.

Rover sees#

The Rover sees block is used to report whether the VR Rover sees detectable objects using the built-in AI technology.

VR Rover detecting minerals within its field of view, ready to move towards them in the Rover Rescue Playground.

Choose whether to report if the VR Rovers’s built-in AI sees minerals, enemies, base, obstacles, or hazards.

VR Rover detecting minerals within its field of view in the Rover Rescue Playground.

The field of view of the VR Rover is 40 degrees. This can be seen in the mini-map on the Playground indicated by the gray translucent cone from the front of the VR Rover.

The Rover sees block reports True when the selected option is less than 1000 millimeters (MM) away from the VR Rover and within its field of view.

The Rover sees block reports False when the selected option is greater than 1000 millimeters (MM) away from the VR Rover and/or not within its field of view.

The Rover sees block is used in blocks with hexagonal (six-sided) spaces.

In this example, the VR Robot will continuously check if any minerals are seen before turning and moving towards them.

VR Rover detecting nearby minerals within its field of view in the Rover Rescue Playground.

Rover detects#

The Rover detects block is used to report whether the VR Rover detects an enemy or minerals using the built-in AI technology.

VR Rover detects nearby minerals using built-in AI technology in the Rover Rescue Playground.

Choose whether to report if the VR Rovers’s built-in AI detects minerals or enemies.

VR Rover interface showing blocks for detecting minerals and enemy interactions in the Rover Rescue Playground.

The detect radius of the VR Rover is 800 millimeters (MM). This can be seen in the mini-map on the Playground indicated by the yellow circle around the VR Rover.

The Rover detects block reports True when the VR Rover detects the selected option.

The Rover detects block reports False when the selected option is not within the detect radius of the VR Rover.

The Rover detects block is used in blocks with hexagonal (six-sided) spaces.

In this example, the VR Robot will continuously check if any minerals are detected before turning and moving towards them.

VR Rover detecting minerals with AI technology, preparing to navigate towards the closest mineral in the playground.

Minerals in storage#

The Minerals in storage block is used to report the current amount of minerals the VR Rover has in its storage.

Image showing the VR Rover's minerals storage capacity and current amount of minerals collected.

The Minerals in storage block is used in blocks with circular spaces.

In this example, the VR Rover will print how many minerals it currently has in its storage.

VR Rover displaying minerals in storage, showing current mineral count for resource management.

Storage capacity#

The Storage capacity block is used to report the carrying capacity of the VR Rover’s storage.

Diagram illustrating the VR Rover's storage capacity for minerals in the Rover Rescue Playground.

The Storage capacity block is used in blocks with circular spaces.

In this example, the VR Rover will print its current carrying capacity.

Image showing the VR Rover's storage capacity block, displaying the maximum minerals it can carry.

Rover direction#

The Rover direction block is used to report the direction from the VR Rover to minerals, enemies, or base using the built-in AI technology in degrees.

Rover direction block showing the VR Rover's direction towards minerals, enemies, or base in degrees.

Choose whether to report the direction of minerals, enemies, or the base.

Rover direction selection interface showing options for navigating towards minerals, enemies, or base in VR Rover.

The Rover direction block will only work if the enemy or mineral is less than 1000 millimeters (mm) away from the VR Rover and within its 40 degree field of view. This can be seen in the mini-map on the Playground indicated by the gray translucent cone from the front of the VR Rover.

If “base” is selected for the block, the distance will be reported even if the VR Rover’s base is not in the field of view. The VR Rover’s AI technology allows it to always detect the base. This block will report a value from -180 to 180 degrees when reporting the direction to the base.

The Rover direction block is used in blocks with circular spaces.

In this example, the VR Rover will print the current direction from the VR Rover to the closest mineral.

Diagram showing the VR Rover's direction towards the closest mineral in the Rover Rescue Playground.

Rover distance#

The Rover distance block is used to report the distance from the VR Rover to minerals, enemies, obstacles, hazards, or base using the built-in AI technology.

Diagram illustrating the Rover distance block functionality in the VR Rover programming environment.

Choose whether to report the distance of minerals, enemies, obstacles, hazards or the base.

Diagram illustrating the VR Rover's distance sensing capabilities and interactions with minerals and enemies.

Choose whether the distance is reported in millimeters or inches.

Diagram illustrating distance measurement units for the VR Rover in the Rover Rescue Playground.

The Rover distance block will only work if the enemy or mineral is less than 1000 millimeters (mm) away from the VR Rover and within its 40 degree field of view. This can be seen in the mini-map on the Playground indicated by the gray translucent cone from the front of the VR Rover.

If “base” is selected for the block, the distance will be reported even if the VR Rover’s base is not in the field of view. The VR Rover’s AI technology allows it to always detect the base.

The Rover distance block is used in blocks with circular spaces.

In this example, the VR Rover will print the current distance from the VR Rover to the closest mineral in millimeters.

Diagram showing the VR Rover's distance to minerals, enemies, and base in a simulated environment.

Rover location#

The Rover location block is used to report the X or Y coordinate location of minerals, enemies, obstacles, hazards, or base using the AI technology built into the VR Rover.

Diagram illustrating the VR Rover's location block used for reporting coordinates of minerals, enemies, and base.

Choose whether to report the coordinate location of minerals, enemies, obstacles, hazards or the base.

Image of the VR Rover's location selection interface, displaying options for mineral and enemy coordinates.

Choose whether to return the X or Y coordinate.

Diagram illustrating the VR Rover's location and movement axis in the Rover Rescue Playground.

Choose whether the coordinate location is reported in millimeters or inches.

Diagram illustrating Rover location units and their interactions in the VR Rover programming environment.

The Rover location block will only work if the enemy or mineral is less than 1000 millimeters (mm) away from the VR Rover and within its 40 degree field of view. This can be seen in the mini-map on the Playground indicated by the gray translucent cone from the front of the VR Rover.

If “base” is selected for the block, the location will be reported even if the VR Rover’s base is not in the field of view. The VR Rover’s AI technology allows it to always detect the base.

The Rover location block is used in blocks with circular spaces.

In this example, the VR Rover will print the X and Y coordinate of the base in millimeters.

Image showing the VR Rover navigating towards the closest mineral in the Rover Rescue Playground.

Under attack#

The Under attack block is used to report whether the VR Rover is under attack from an enemy or not.

Image depicting a VR Rover under attack, with visual indicators for enemy detection and radiation absorption.

The Under attack block reports True when the VR Rover is under attack from an enemy.

The Under attack block reports False when the VR Rover is not under attack from an enemy.

The Under attack block is used in blocks with hexagonal (six-sided) spaces.

In this example, the VR Robot will continuously check if it is under attack, and if so, move backwards by 500 millimeters.

VR Rover under attack, preparing to absorb enemy radiation in the Rover Rescue Playground.

Enemy level#

The Enemy level block is used to report the level of the closest enemy detected in the VR Rover’s vision.

Icon representing a level block for the VR Rover, used in programming its actions and behaviors.

When no enemies are detected in the VR Rover’s vision range, the Enemy level block returns 0.

The Enemy level block is used in blocks with circular spaces.

In this example, the will continuously check if the closest enemy is level 1. If the enemy is level 1, the VR Rover will approach the enemy, otherwise it will move backwards by 500 millimeters.

Diagram illustrating the VR Rover's capabilities, including Drivetrain and action blocks for minerals and enemies.

Enemy radiation#

The Enemy radiation block is used to report the radiation of the closest enemy detected in the VR Rover’s vision.

Image of the VR Rover block for absorbing enemy radiation in the Rover Rescue Playground.

When no enemies are detected in the VR Rover’s vision range, the Enemy radiation block returns 0.

The Enemy radiation block is used in blocks with circular spaces.

In this example, the VR Rover will print the current radiation of the nearest enemy.

VR Rover absorbing enemy radiation in the Rover Rescue Playground while preparing for action.

Battery level#

The Battery level block is used to report the current battery level of the VR Rover as a percent.

Icon representing a level block for the VR Rover, used in programming its actions and behaviors.

The Battery level block is used in blocks with circular spaces.

In this example, the VR Rover will print its current battery level. Diagram illustrating the VR Rover's capabilities, including Drivetrain and action blocks for minerals and enemies.

Level#

The Level block is used to report the current level of the VR Rover.

Icon representing a level block for the VR Rover, used in programming its actions and behaviors.

The Level block is used in blocks with circular spaces.

In this example, the VR Rover will print its current level. Diagram illustrating the VR Rover's capabilities, including Drivetrain and action blocks for minerals and enemies.

XP#

The XP block is used to report the current number of Experience Points (XP) that the VR Rover has.

Image of the XP block used in the VR Rover programming environment to report Experience Points.

The XP block is used in blocks with circular spaces.

In this example, the VR Rover will print the current number of Experience Points (XP) it has.

VR Rover interface showing blocks for actions like Go to object, Absorb enemy radiation, and XP tracking.