Challenge 11: Treasure Hunt
- rainbowsandalex
- May 20, 2016
- 2 min read
Requirements:
- Must be able to stay on table
- Must be able to sense yellow
- Needs to be able to defend itself from other robots on the table
Assumptions:
- Will be hard to move fast enough to defend from others and also stay on the table
- Will have to make the sensor pretty sensitive
- Will need to have some offence as well as defence
Restrictions:
- Colour sensor placement so most angles will be ok not to fall of the edge will be difficult to achieve
- Limited pieces so I can not make it as extravagant as would be otherwise possible
Pseudocode:
- Set switch to check for colour yellow
-if no yellow detected
-Drive forwards at power 40
-Have colour sensor checking reflected light intensity so it does not fall off
-if detected
-Stop moving
-Play noise
-End program

This is how it worked in the end
Reflection:
I would say I did learn a fair bit this challenge. It's the first time I have used a switch with this function and I think it could be really useful in the future. I also have never been in a situation where I had to compete with other robots in order to complete the objective. I think the finding of the yellow went well, and so did the staying on the table. The offence aspect was slightly lacking though, because there was not enough space I could find on the front of the robot that I could use to place a better "weapon"
For the next challenge I would like to optimize my building, because I'm starting to realize it does make a big difference. To do this I would try to gain access to another sensor perhaps, or maybe even start completely fresh so I can make sure that everything I want to use has space to be put on. I could also try to make the general build sturdier so I do not have to worry about it falling apart if something bumps it too hard


Comments