top of page
Recent Posts
Search

Don't fall off the edge

  • Writer: Rory Johnston
    Rory Johnston
  • May 10, 2016
  • 1 min read

In this challenge we had to make a robot that would roam around the table and would stop at the edge and would then turn around and continue on until the next edge and it would repeat.

Psuedocode:

1.Start loop

2. Run motors

3. Wait for colour sensor to sense black

4. Reverse for 1 rotation

5. Turn for 90 degrees

6. Repeat loop until told to stop

This is what the code actually looks like.

Making this robot was actually quite fun because we worked with a different design than the regular rubber wheel design. We gave this robot tank treads, even though it was pretty loud when it was running, it was totally worth it. Here's it running.

We didn't really run into any problem in this process, the building and coding all went pretty smoothly. This was also all review for me as I have worked with colour sensors before. For the next challenge I want to update the robots design to the wheels aren't rubbing together and perhaps make it a little less front heavy.


 
 
 

Recent Posts

See All
Final Project

In this challenge we had to come up with our own challenge. I first decided that I would make a working pendulum clock that was on a...

 
 
 
Challenge 13 design brief

In this final challenge we are supposed to make our own challenge to complete in the upcoming weeks. I decided that I am going to try and...

 
 
 

Comentarios


© 2023 by PlayPlay. Proudly created with Wix.com

bottom of page