OLED displays can be used to show information about the current state of the car. This is especially useful in the when collecting data for training, and when racing.
The OLED display currently displays the following information:
* The IP address of the car (
* The number of records collected, for training.
* The driving mode.
Examples of displays that are currently supported are:
Simply connect the display to the I2C pins on the Raspberry Pi or the Jetson Nano. Use
bus 1 so the display can be inserted directly on the pins. Here is an example of what that looks like.
Enable the display in
# SSD1306_128_32 USE_SSD1306_128_32 = True # Enable the SSD_1306 OLED Display SSD1306_128_32_I2C_BUSNUM = 1 # I2C bus number
If you are unable to start the car, ensure that the
Adafruit_SSD1306 package is installed in your virtual environment. This should automatically be installed, if you are using a recent version of
pip install Adafruit_SSD1306