Imán#

Introduction#

The Electromagnet lets your robot interact with magnetic objects by picking them up and releasing them.

Below is the available Magnet block:

energize magnet#

The energize magnet block is used to set the state of the electromagnet so it can pick up or drop objects.

energizar [Magnet v] a [refuerzo v]

Parameters

Description

state

The state to charge the magnet to:

  • boost – Allows magnet to pick objects up.
  • drop – Stop picking up objects or drop held object.
cuando empezó :: hat events
[Pick up a disk with the Electromagnet in the Disk Mover playground.]
unidad [adelante v] para [800] [mm v] ▶
energizar [Magnet v] a [refuerzo v]
unidad [atrás v] para [800] [mm v] ▶