The motor blocks make only 1 motor to move.
(In my case, I connect Motor A)
-> -> Negative number or counter-clockwise: is UP
-> -> Positive number or clockwise: is DOWN
We are using medium motor. Motor connected to Port A
The 2 codes beside each other are the same. They do the same thing.
Or it can also be:
Motor A moves 250 degrees counter-clockwise(up) at the speed of 75
Notice how fast the motor move upward.
!!! Because this motor is placed like that, counter-clockwise/negative numbers make the motor move up.
Or it can also be:
Motor A moves 250 degrees clockwise(down) at the speed of 75%
Because this motor is placed like that, clockwise/positive numbers make the motor move down.
Moves in the direction of the clock
⬅ Look at the difference ➡
It moves as if time goes back, going to the opposite direction as the clock.
Motor A moves 180 degrees counter-clockwise(up) at the speed of 15%
Notice that the degrees are less. This is because the motor cannot close fully due to the object its grabbing.
I know this might be confusing, but specifically in this robot, UP will be negative number.
Motor A moves 180 degrees -clockwise(down) at the speed of 15%
You can try with a faster speed, see what happens to the object.
I know this might be confusing, but specifically in this robot, DOWN will be positive number.
You first grab (with motor A) the red container, turn left, and let go of the object.
-> -> Negative number or counter-clockwise: is UP
-> -> Positive number or clockwise: is DOWN
Don't get confused!
Hint:
The speed for motor A is 20%
The speed for the wheels is 50%