This block works for Ruby Robot!
Use the Get Magnet Arm Position block to make sure that the magnetic arm has finished its work before your code moves any further, by placing it inside a Wait Until block containing a comparison to a string “up” or “down”.
Only after the magnetic arm has finished raising the magnetbox (i.e., its position is "up"), will the robot drive forward at 20% speed.
See also:
Comments
Please sign in to leave a comment.