Running results in error: ImportError: no module named 'tof'

While trying to run from the examples directory, I get the following error message:

Traceback (most recent call last):
File “”, line 6, in
ImportError: no module named ‘tof’
MicroPython: v1.18-omv-r6 OpenMV: v4.3.1 HAL: v1.9.0 BOARD: NICLAV-STM32H747
Type “help()” for more information.

Any ideas to fix this issue?
Thank you,

That example is not valid anymore. We need to remove it.

Hi Kwabena,

thank you for the response.

This example is for the tof module which is not enabled for all cameras by default, and it currently only supports the VL53L5CX ToF sensor.

Hi ,

thank you for your response.


Sorry to revive this, but if I happen to have that sensor, is there a way to incorporate it? Or is it intended for a shield with that sensor?

We don’t have any shields with that sensor. What are you trying to do? We haven’t released a product with it yet as it’s… very expensive to add to the camera system.