To map our keyboard inputs we can use a python module called Tkinter. Tkinter is Python’s de-facto standard GUI (Graphical User Interface) package. Tkinter is not the only GUI Programming toolkit of Python, however, it is the most commonly used
This tutorial will step through how to map install the necessary libraries to map your gamepad buttons for controlling the robot. Installing Libraries First of all we need to install the necessary libraries to ensure we can recognise the inputs.
Introduction: In this section, we will discuss how to interface with a generic USB game controller and communicate with the Raspberry Pi on the robot. All code is written in Python 3 or higher. The scripts work by passing raw