-
Where did you get the camera module(s)?
… -
Model number of the product(s)?
… -
What hardware/platform were you working on?
Arducam IMX316 ToF, RP4, Ubuntu 20.04 (focal), ros2 galactic. -
Instructions you have followed. (link/manual/etc.)
https://docs.arducam.com/Raspberry-Pi-Camera/Tof-camera/Getting-Started/
- Problems you were having?
after making sure that the physical connection is correct i followed the instructions in the Getting-Started manual :
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
Step 1. Pull the repository.
git clone GitHub - ArduCAM/Arducam_tof_camera
Step 2. Change the directory to Arducam_tof_camera
cd Arducam_tof_camera
Step 3. Installation (Driver, Dependencies, SDK, OpenCV)
./Install_dependencies.sh
When you see the reboot prompt, enter y. Raspberry Pi will automatically reboot.
Step 4. Compile & run
./compile.sh
Once it’s successfully compiled, live camera previews will automatically pop up.
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
the problem is in step 4:
ubuntu@pi25:~/Arducam_tof_camera$ sudo ./compile.sh
– Configuring done
– Generating done
– Build files have been written to: /home/ubuntu/Arducam_tof_camera/example/build
[ 20%] Built target test_c
[ 40%] Built target preview_usb
[ 60%] Built target capture_raw
[ 80%] Built target select_video_preview
[100%] Built target preview_depth
open WARNING Could not open device node /dev/video0. Please check for permissions.
initialization failed
i also cant see my /dev/video0 when i run $ls /dev/video*
- The dmesg log from your hardware?
the command &dmesg | grep -E “imx316|arducam” shows nothing. - Troubleshooting attempts you’ve made?
double check physical connection, checking camera detection on ubuntu 22.04 - What help do you need?
how can i detect my Arducam ToF camera with my current hardware and software?
Thanks