Step 1: Plan
After the in-class discussion, we decided to make a collective decision project called “Gathering Up”.
Main Procedures:
- During the project, keep sending the (x, y) position to the Robotbits.
- The 5 Robotbits will be spread on the ground.
- The 5 Microbits will calculate the distances between every 2 Robotbits.
- Every 2 Robotbits that are close to each other will gather together.
- The Microbits will calculate the distances between every 2 groups of Robotbits.
- The most closed 2 groups of Robotbits will gather up.
- The 5 Robotbits are all clustered.
- The 5 Microbits display “Robotbits Assemble!!” (and maybe an audio clip).
Materials:
Microbit x 5
Robotbit set x 4 (optional)
HD 920c Logitech camera
Mac mini
Aruco markers
|
Anaconda-Navigator
OpenCV Library
Mu-Editor
Microbit Wireless Communication Module
Step 2: Code
Code for Computer Vision:
https://github.com/todocono/arUco
Code for Robotbit communication:
https://github.com/todocono/birs2019s
Additional Resources from Github Repository:
https://github.com/krawc/arUco
Step 3: Reflect on the process
The collective decision is really a challenging topic to address.
It requires many technical skills like the application of openCV and wireless communications between Microbits.
Besides, it needs a whole group of student (for example, we have 5 people in our group) to adjust their schedule to create a perfect time for all of the members to work on the project.
However, the process of making the project is exciting and interesting.
Most importantly, we learned a lot from this collaboration.