GoPiGo3 New Install on Trixie Ubuntu I’m sensing trouble here

What do I know? MR introduces a new install for Pi OS Trixie, so I just have to try the new install with Ubuntu Trixie required by ROS 2 Lyrical Luth for GoPiGo3 robot Dave’s latest reincarnation.

Seemed like everything was working for Dave, he was docking well and undocking to go out and play with URML. Then I wanted to try his rarely used distance sensor (Dave usually uses LIDAR).

Distance sensor worked on PiOS Trixie, but not Ubuntu Trixie. It reported “buffer overflow”

Managed to dig deep in the I2C sensor stack until I found the magic key in di_i2c.py

If periphery doesn’t work uncomment smbus

I haven’t the slightest what it means or does, or how to properly change it, but bringing the whole sensor stack local allowed me to change it so my test program reads the distance sensor.