Presentation is loading. Please wait.

Presentation is loading. Please wait.

Using tools and the ‘Wait’ Block

Similar presentations


Presentation on theme: "Using tools and the ‘Wait’ Block"— Presentation transcript:

1 Using tools and the ‘Wait’ Block
Forklift Lab Using tools and the ‘Wait’ Block

2 NEW STUFF! Ultrasonic Sensor- detects an object’s distance from the front face of the sensor Medium Motor/ Forklift- operates using medium motor block; 1:1 ratio Wait Block- causes a pause in the programming’s flow

3 Wait Block:

4 Wait Block: Setting: ultrasonic sensor- compare- distance in centimeters Threshold value is the distance in centimeters The wait block does not make the robot stop If you want the robot to stop, you must program it to do so

5 Medium Motor Block: Setting: ALWAYS on for degrees- moving measured amount Positive speed to raise forks Negative speed to lower forks The forks move the number of degrees programmed. NO MATH NEEDED! HOORAY!

6

7 Lab Instructions Title your project file; Per # Forklift
Move to blue line at 30% power. Move to cube at 30% power and stop 10cm away. Starting at blue line move toward cube stopping 10cm away then reverse to blue line at 30% power and stop. Starting at blue line move toward cube stopping 10cm away then tank turn 180° and move to blue line at 30% power and stop. Robot needs to start in the starting box behind the blue line, retrieve the cube with the forklift, and place it on the table back behind the blue line in the box where the robot started. The robot will start and end with the forks in the up position.


Download ppt "Using tools and the ‘Wait’ Block"

Similar presentations


Ads by Google