Appendix A. Enhancing Your Robot

Experienced software engineers use a variety of techniques to help manage complex projects. This section provides a list of useful tips for designing and building complex robotics projects.

Planning

Think Before You Code

It helps to think about your project and be clear on what you want it to achieve before you start coding. Tinkering around without a plan is a good way to learn and to have fun, but it can make a large project too cumbersome to manage.

Avoid Feature Bloat

Don't add features that you don't need. Features added 'just in case' may seem like a good way to save time later on, but nine times out of ten, the features you actually need will require changes to the code you wrote that are usually more troublesome ...

Get Make an Arduino-Controlled Robot now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.