top of page

challenge #11 tabletop treasure

  • Aidan
  • May 25, 2016
  • 1 min read

In this challenge we had to make a robot that detected a yellow square on a table while not falling off the table while pushing enemy robots off the table and not getting pushed off by other enemy robots. Here is a picture of the code.

I learned a little bit about switch loops and how to use them in this challenge. Apart from that not much else was learned. Most things went as planned. The program varied alot from the beginning because I added different code to do different things. The robot had programs to act defensively and offensively when doing a "battle royale" as I like to call them when 4 or more robots are on the table. The code didn't go as planned with a few bugs and so forth but that is the nature of programming. It is also possible that when the robot is working offensively it can run itself off the table. Next time I want to work on my building skills a little bit more because this time I only modified a driving base to do offensive and defensive actions.


 
 
 

Comments


 Recent   
 Posts  
bottom of page