My Project Contributions
Since I was on the computing sub team during this project I wasn’t involved in much of the modelling tasks. Instead my partner and I focused on completing the overall code. At first we started off by conceptualizing the task at hand and what we needed to code in order for the q-bot to function and complete its designated goal. I wrote out pseudocode describing this process while my partner made a work-flow chart as a basis for us to start. We then had to pick our desired sensors for our program and incorporate our base code into 5 separate functions of pseudocode to make the process easier. Going off of what we had written, we then had to write our actual code in python that could repeat its functions infinitely to finish our project. We split up the functions so I only had to write the transfer function as well as the deposit function while my partner wrote the dispense, load, and return home functions.

Reflection
The overall finished code was able to sort and dispense all varying materials into the correct bins infinitely without stopping or misplacing any recyclables. The program runs at a safe speed moving fast enough for efficient work and never goes off course or loses any of the containers mid dispense. This basically means that the code worked perfectly and achieved every goal we set out to accomplish. However, this was only the code for the Qaunser online environment and did not work for the physical environment where we had to demonstrate our code. The physical environment brought many problems as we could only create a correct line following function for this code. While coding the physical sensors into our program, we couldn’t get them to sense the light of different colours which is what is needed in order for the program to work. Looking back at this part of the project with the knowledge I have now, I would’ve started testing our code in the physical environment earlier so we could troubleshoot our code while seeing if it will work right in front of us as that would have allowed us to figure out a way to get our sensors to work. In the end this project taught me an important lesson about coding. There can always be a little tiny mistake along the way that can impact your entire life or in this case code even if its something no one would ever notice. Its taught me to take things slow and to work at the best of my ability at all times because every moment counts.