Download presentation
Presentation is loading. Please wait.
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!
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.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.