Troubleshooting
If the servo motors stop to slow down, the simplest fix is to use fresh batteries. You may be able to reduce this with a capacitor between the servo power and ground. A capacitor is an electronic component used to smooth out noise. A 470f capacitor will do nicely.
If the code fails to start, remove _nowait from the queue operations in the app core—some errors will only show with this taken out. However, leaving it removed can mean the robot behavior will stop when a web client momentarily loses connection.
If there are syntax errors, please check your code carefully.
Please ensure that the previous examples with the web app have worked with the camera, and that you have carried out troubleshooting from any errors.
You may ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access