Knowledge Base

Magnet Arm Position Block

output-onlinepngtools__10_.png This block works for Ruby Robot!   

Having a magnetic arm is great, but what do you do with it? 

Well, that's easy! You use it to raise, lower, and carry magnetboxes!

magnet_arm_up-down_with_magnetbox.gif

The Magnet Arm Position block allows us to move Ruby’s magnetic arm up or down, by selecting the  position from the drop-down menu.

In this example code, the robot will drive forward until it registers that a magnetbox has connected, then lift the magnetic arm up.

mceclip1.png

 

See also:

Magnet Arm Cargo Connected Block

Get Magnet Arm Position Block

Magnet Arm Release Block

 

Was this article helpful?
1 out of 1 found this helpful

Comments

Please sign in to leave a comment.