Keyestudio 4WD Manual page 257

Mecanum robot car
Hide thumbs Also See for 4WD:
Table of Contents

Advertisement

www.keyestudio.com
And then put they all in forever and add
.
Complete Program:
① In the "forever" instruction block, the progra
runs cyclically.
② Set the front left motor speed to 75 and th
direction to rotate forward.
③Set the speed of the rear left motor to 75 and th
direction to rotate forward.
④ Set the front right motor speed to 75 and th
direction to rotate forward.
⑤ Set the right rear motor speed to 75 and th
direction to rotate forward.
⑥Wait for 2 seconds
⑦ Set the front left motor speed to 75, and th
direction is reversed.
⑧ Set the motor speed at the rear left to 75, and th
direction is reversed.
⑨ Set the front right motor speed to 75, and th
direction is reversed.
⑩ Set the right rear motor speed to 75, and th
direction is reversed.
⑪Wait for 2 seconds
⑫ Set the front left motor speed to 75, and th
direction is reversed.
⑬Set the motor speed at the rear left to 75, and th
direction is reversed.
⑭ Set the front right motor speed to 75 and th
direction to rotate forward.
⑮ Set the right rear motor speed to 75, the directio
is forward.
⑯Wait for 2 seconds
⑰ Set the front left motor speed to 75 and th
direction to rotate forward.
⑱ Set the speed of the rear left motor to 75 and th
direction to rotate forward.
⑲ Set the front right motor speed to 75, and th
direction is reversed.
⑳ Set the right rear motor speed to 75, and th
direction is reversed.
257
㉑Wait for 2 seconds
㉒The car stops
㉓Wait for 2 seconds

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents