It looks like you are trying to use the sensor drivers through the easygopigo3 drivers. I would recommend using the distance sensor drivers directly. See example 1 and 2. If you initialize the sensor with
ds = DistanceSensor(), it will default to the RPi HW I2C bus (the parameter defaults using
bus = "RPI_1"). If you want to use GPG3 port AD1, set the bus name to
GPG3_AD1 like this:
ds = DistanceSensor(bus = "GPG3_AD1")
As cyclicalobsessive alluded to, you can’t use two of the same sensor (same I2C address) on the same I2C bus. However, GPG3 AD1 and AD2 ports can be used as I2C buses (bit-bang i.e. software controlled buses), so you can easily use two distance sensors at once.
If you are going to use two distance sensors on the same robot, I recommend using single-shot mode rather than continuous mode. It seems unlikely that they would conflict, but in continuous mode there’s a chance that the laser from one distance sensor will interfere with the other distance sensor. In the examples linked to above, follow example 1 for single shot, not example 2 for continuous. The only down-side to single shot mode is that it takes a little longer to poll the sensor. If you need ultimate polling speeds, you might want to use continuous mode, as the risk of laser conflicts is minimal.