Appendix C. Debugging Your Robot
Complex projects inevitably throw up obstacles in the form of bugs. As these arise, you can congratulate yourself for choosing such a challenging project and bear in mind the satisfaction you will feel when all the problems have been overcome. Here is some software that should help you find and fix problems you may encounter.
Identify the Symptoms and Localize the problem
Seeing What the Robot Is Doing
Visualizing data from the sensors in real time can be tremendous help in understanding what is actually happening in your sketch. Figure C-1 shows the screen from a Processing sketch that enables you to easily view Arduino values.
Figure C-1. Arduino Data Displayed in Processing
Figure C-1 depicts the analogRead values ...
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.