Soft Turns
Sometimes your robot will want to move less like a square, and more like a racing car!
For that, we need to learn how to make some soft turns, or move in arcs and circles.
Arcs & Circles
You will need to play around with wheel speeds to get different turn angles.
Then to make an arc, you just have to move some distance in that direction without completing a full circle...
Or you can try to figure out just how many rotations/desgrees it takes to complete one full circle, or more!
Use this canvas.
Move Steering
We can also use Move Steering block to abstract how sharp our turns are:
- Direction
- Positive (1 to 100): --> Right
- Negative (-1 to -100): --> Left
Practice
Use this canvas.
- Test Direction values: 0, 30, 60, 100
- For each Direction, figure out the number of rotations/degrees to complete a 90-degree turn (similar to turns we did in the Maze)
- For each Direction, figure out the number of rotations/degrees to complete a 90-degree turn (similar to turns we did in the Maze)
- Test Direction values: -25, -50, -75
- For each Direction, figure out the number of rotations/degrees to complete a semi-circle
Circle Challenge
- Circle Challenge: Draw the same size circle roughly
Circle Test
-
Open this challenge
-
Try to play with the various speeds and distances to complete a perfect circle without bumping the tree or falling off!