analogdevicesinc / ToF

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python3 ToF Bindings on NXP

pclass-sensonix opened this issue · comments

Hello - I am trying to use the Python3 ToF bindings on the NXP i.MX8. I can successfully capture frames from the ADSD3500 Camera with V4L2 and the following script:

However,

v4l2-ctl --set-ctrl=operating_mode=0 -d /dev/v4l-subdev1
v4l2-ctl --set-ctrl=phase_depth_bits=4 -d /dev/v4l-subdev1
v4l2-ctl --set-ctrl=ab_bits=6 -d /dev/v4l-subdev1
v4l2-ctl --set-ctrl=confidence_bits=0 -d /dev/v4l-subdev1
v4l2-ctl --set-ctrl=ab_averaging=0 -d /dev/v4l-subdev1
v4l2-ctl --set-ctrl=depth_enable=0 -d /dev/v4l-subdev1
v4l2-ctl --device /dev/video0 --set-fmt-video=width=2048,height=2560,pixelformat=BA81 --stream-mmap --stream-to=mode0.bin --stream-count=$nr_frames