

- #Hotswitch between xorg and wayland install
- #Hotswitch between xorg and wayland software
- #Hotswitch between xorg and wayland code
The schematic of the Sense Hat can be found here.
#Hotswitch between xorg and wayland code
Via glob the code makes contact with /dev/i2c* and /sys/class/graphics/fb*.Looked at the code of sense hat, but it seems that the device is controlled via glob (for the led-frame) and RTIMU (for the IMU and the three other sensors).For the Raspberry the GND is on pin 6, while for 96boards the GND is on pin 1 and 2.Compared the 40-pins Raspberry GPIO configuration vs the 40-pins 96boards low speed extension.Followed the Installation instructions (now on robolabws7), but ~/AutonomousDriving/CARLA/PythonAPI/*/*.py also contains no main.py.Tried to reproduce Thomas work on Town02, with the command python3 main.py-benchmark -synchronous -fps 25 -weights weights_Xception/ -configtest_config.json Town02, but Thomas github doesn't contain main.py.Thomas was training the networks over 50 epochs, with train loss below 0.01 (see Table 6 on page 45).Killed the session from an other terminal with tmux kill-session -t town01. Script hangs on terminate called without an active exception. After 10 epochs val_loss improved from 1.58471 to 1.58232. Seems that it only trained one epoch (as requested). The training is ready in a minute (which I doubt).Yet, the model chosen here is Xception, so removing EfficientNetB7 from the import in train.py solves this issue. As indicated in the Readme, EfficientNet is only included in the Tensoflow-GPU version 2.3 and higher.it failed on the import of 'EfficientNetB7'. Yet, with from import ResNet50, ResNet101V2. Started training with command train.py -N 1000 -split 0.8 -model Xception -epochs 1 -batchsize 32 -scale 20 -info TEST_RUN1 ~/carla/dataset/20200621/.This directory contains all images used for training the steeringmodels. ColorConverter is also part of matplotlib, but that doesn't help.Problems seems to be that my python3 is v3.6.9, while the egg file is for v3.5.This installed three packages, but not ColorConverter.
#Hotswitch between xorg and wayland install
Without root-permission I couldn't use the easyinstall (note that python3 complains that it cannot find CARLA egg file), instead used pip3 install -U -r ~/AutonomousDriving/CARLA/PythonAPI/carla/requirements.txt. Next the import fails on ColorConverter, which is a known issue. Adding the PythonAPI to PYTHONPATH helps. I had Carla already installed in ~/AutonomousDriving/CARLA/.Tried python3 main.py -benchmark -synchronous -fps 24-weights weights/ -config benchmark_config_v1.json Town02, but this fails on import carla.

Also update-metadata (as suggested in the documentation) doesn't work.

#Hotswitch between xorg and wayland software
CarlaUE4.sh fails on warning: Not allowed to force software rendering when API explicitly selects a hardware device.
