Indice degli argomenti
ACTIVITY DESCRIPTION
To learn and to teach 2D and 3D shapes by helping and in competition environment and improving group activity and pleasure.
mBot detects the presence of 3D objects and acts differently depending on the 2D features of the path it is following. In particular we used the curvature of the path as a control variable: when mBot detects a 3D object and it is turning left, it bump into it and makes it fall down; when turning right, it turns back and go back along the path. In the experiment we played around in order to “hide” the effective control and mislead the user into believing that the mBot normally hit 3D objects, but avoid dangerous situations.
FIRST VERSION
The students constructs a Labyrinth and prepare the mBots for take pieces of different shapes.
Inside the labyrinth, students colored plastic bands and 2D objects are created.
Then, 3D objects are placed in the labyrinth.
mBots compete to get 3D objects.
SECOND VERSION
Definition of the curvature as a variable c:
- Each time the mBot exit on the right side of the path (line follower sensor 1), motors are set to turn left and curvature is increased by 1. Similarly, when turning right it is decreased by 1.
- In its final configuration after program development and testing, The curvature is bound below 125 |c|<125 and when it overcomes 100 (|c|>100) the on board leds change colours accordingly to the curvature (red when turning left, green when turning right, blue while traveling forward).
ACTIVITY RESOURCES
Cartella: 1File: 1