Choosing a controller
We want to be able to control our robot with something that is handheld and wireless. Trailing a wire to our robot would make little sense. Having seen how our robot drives in Chapter 7, Drive and Turn - Moving Motors with Python, we will want a control system that affects the wheels in a direct way.
One way to do this would be to use a Bluetooth joypad. There are a large number of these on the market, which may require specialist drivers to read. Bluetooth has a habit of dropping pairings at inopportune times.
However, you already have a handheld device, in your pocket, your phone. It has a touch screen, capable of reading finger movements. With a bit of the right code, you can display the video between controller ...
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