SunFounder Controller - Issue Installing Files Needed for PiDog

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!

It looks as if your camera isn’t connected properly. Does it work for the other camera programs or just not for app control?

If you’re using bookworm?

You can test the camera independently of robot hat with either

for a live preview, use rpicam-hello.

Or

to capture a still image, rpicam-still -o test.jpg

Or for legacy OS use libcamera-still and libcamera-hello

Please confirm if your camera connection is correct. Please see the picture.
What version of the system are you currently using? It is recommended to use the latest Bookworm system.
After confirming the wiring is correct, please run the libcamera-hello test for the camera and provide us with the printed information.
If it still cannot be recognized, please change the cable to the Raspberry Pi camera interface and check the results.