Can anyone help me with this issue - Error installing necessary files for PiDog and Control functionality.
I have followed the instructions exactly as outlined. I have even installed the stuff that was later found regarding the files for the Pi Car. I cannot get my controller to work with my PiDog. I believe the issue is related to this error I get installing one of the packages. Can anyone point me in the right direction? Here is the output I got during that failed install:
Using /usr/local/lib/python3.11/dist-packages/websockets-15.0.1-py3.11.egg
Finished processing dependencies for sunfounder-controller==0.0.2
Greg@raspberrypi:~/sunfounder-controller $ cd ~/pidog/examples
Greg@raspberrypi:~/pidog/examples $ sudo python3 12_app_control.py
vilib 0.3.16 launching …
picamera2 0.3.27
Traceback (most recent call last):
File “/home/Greg/pidog/examples/12_app_control.py”, line 4, in
from vilib import Vilib
File “/usr/local/lib/python3.11/dist-packages/vilib/init.py”, line 2, in
from .vilib import Vilib
File “/usr/local/lib/python3.11/dist-packages/vilib/vilib.py”, line 182, in
class Vilib(object):
File “/usr/local/lib/python3.11/dist-packages/vilib/vilib.py”, line 184, in Vilib
picam2 = Picamera2()
^^^^^^^^^^^
File “/usr/lib/python3/dist-packages/picamera2/picamera2.py”, line 281, in init
camera_num = self.global_camera_info()[camera_num][‘Num’]
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
IndexError: list index out of range
Greg@raspberrypi:~/pidog/examples $
Thank you!