Is there a way to test the camera connected to the PiDog? Maybe some diagnostics on the Raspberry Pi side?
When asssembling, the camera on the small board was disconnected from the board. I thought that all I needed to do was push the camera back into place (affixing the tape as per the instructions), and reconnecting the connector on the board (sort of a gold plug immediately above the camera). It seemed okay and I continued the assembly instructions.
However, it might be that the camera board isn’t working (the other possibility might be the ribbon cable).
When attempting to run sunfounder controller, I get the following:
cd ~/pidog/examples
sudo python3 12_app_control.py
vilib 0.3.20 launching …
picamera2 0.3.38
Traceback (most recent call last):
File “/home/andrewmercer/pidog/examples/12_app_control.py”, line 5, in
from vilib import Vilib
File “/usr/local/lib/python3.13/dist-packages/vilib/init.py”, line 2, in
from .vilib import Vilib
File “/usr/local/lib/python3.13/dist-packages/vilib/vilib.py”, line 182, in
class Vilib(object):
…<648 lines>…
return img
File “/usr/local/lib/python3.13/dist-packages/vilib/vilib.py”, line 184, in Vilib
picam2 = Picamera2()
File “/usr/lib/python3/dist-packages/picamera2/picamera2.py”, line 346, in init
raise RuntimeError(
f’No camera number {camera_num} found - use “rpicam-hello --list-cameras” to check connected cameras’
)
RuntimeError: No camera number 0 found - use “rpicam-hello --list-cameras” to check connected cameras
$ rpicam-hello --list-cameras
No cameras available!
I’ll check the connections - but in the event that the camera is faulty, is it easy to get a replacement?
I live in Australia (and bought my PiDog through a local company).
Cheers