Diary of a Student Engineer Part 7: Obstacle Course Time


Caster Wheel with Necessary Ballast
  • Shorten the script! When the code repeats itself a lot, the solution is almost always to write a function that can replace all the unnecessary code. In this scenario, the script wasn’t too long so it wasn’t too big a hassle to copy and paste, but inefficient? Yes.
  • Incorporate self-balancing code. This would take time but would be an interesting challenge nonetheless. It wasn’t necessary for this assignment but would maybe be something worth revisiting in the future.
  • Motor drift. After some testing, the motors started to drift out of sync and so the robot started to collide with obstacles, inducing a lot of frustration. To fix this I increased the speed of one of the motors to make up for the asynchronous behaviour. This was a short term solution. If I was to do it again, I think it would be far more useful to incorporate data from Hall sensors to write a handy programme that could automatically prevent this problem from occurring.
Approach taken for navigating course


Testing the Launcher
Obstacle Course Video w/ elevator music for your enjoyment




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

006: A Summary and Some Resources

Arming WordPress for a post-truth era

Step by Step ETL Process

Best of Level Up Coding (November 2021)

Hexagonal Architecture using Go (Fiber)👨🏽‍💻

Instant M2M Payments with Raiden

Blog 08: Cave Blockout

How to access AWS and Azure in Terraform

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Conor Kennedy

Conor Kennedy

More from Medium

The introduction and the importance of N26 Interface

Qualtrics Automation, how I used Python to make Qualtrics nicer

CSI, Coding and Chuck Lorre