V5: Programming an Arm Using Stop and Hold

This demonstrates the use of motor.stop(hold) with the V5 motors. On our Clawbot arm, 0 degrees is where the motor initializes and 770 (110 * 7) degrees is the top of a 110 degree arc swing, for which the motor has to move seven times as far as the arm itself to make up for the 1:7 gear reduction on the Clawbot. We use these so that the motor does not drive past its end of travel.

Sample Projects

Blockly Python C++

These types of sample programs are very helpful for learning the new languages. We are very grateful that RobotMesh is usable on Chromebooks already, as our school issues these to students.