Day 2 - Section 1 - Robot turning
Site: | ΕΛ/ΛΑΚ Moodle |
Course: | Robotics - 3D Printing - Internet of Things |
Book: | Day 2 - Section 1 - Robot turning |
Printed by: | Guest user |
Date: | Monday, 25 November 2024, 12:07 AM |
Description
After the completion of this section the students will be able to:
- turn the robot 90 degrees to the right
- turn the robot 180 degrees to the left
- make multiple turns according to their current plan
Chapter 3.1 - Right turn 90 degrees
Write the following program to turn the Edison robot right 90 degrees (90°). Use Activity sheet 3.1 as start and stop markers.
Set the ‘Seconds pass’ (replace?) to an amount of time in seconds to have the robot turn right exactly 90°.
Minimum amount of time is 0.01 seconds.
Maximum amount of time is 327.67 seconds.
Try different amounts of time until your robot turns right from the start point to the end point.
Chapter 3.2 - Left turn 180 degrees
Write the following program to turn the Edison robot left 180 degrees (180°). Use Activity sheet 3.1 as start and stop markers.
Set the ‘Seconds pass’ (replace ?) to an amount of time in seconds to have the robot turn left exactly 180°.
Minimum amount of time is 0.01 seconds.
Maximum amount of time is 327.67 seconds.
Try different amounts of time until your robot turns left from the start point to the end point.
Chapter 3.3 - Right turn, then left turn
Write the following program to turn the Edison robot right 90 degrees (90°) and then left 180 degrees (180°). Use Activity sheet 3.1 as start and stop markers.
Set the ‘Seconds pass’ (replace?) to an amount of time in seconds to have the robot turn right exactly 90° and then left 270° (90° + 180°) degrees.
Minimum amount of time is 0.01 seconds.
Maximum amount of time is 327.67 seconds.
Try different amounts of time until your robot turns 90° right from the start point to the end point and then left 270° to the bottom end point.