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

Sapling WASM library for web developers

Introducing MilkyWay (🌌,🌌)

Kubernetes Operator for Beginners — What, Why, How

CS373 Spring 2022: Week 9

AI-Written Lesson Plans?

How to run a stored procedure in oracle sql developer?

Models of Computation

Is ruby Arab? {Happy new year}

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

Love Languages.

Starbucks Capstone Challenge

Hitters Salary with Linear Regression Prediction Study