PTZ-Camera-Controller is a completely non working repository on bookworm for raspberry pi 4

It hasn’t been updated for almost a year. First, the boot config location is not correct, 2nd the numpy and opencv instructions are non working (you need to install globally instead of pip because of virtualenv errors), third the just doesn’t work.

Traceback (most recent call last):
File “/home/drone-project/articulated_robotics/PTZ-Camera-Controller/”, line 213, in
[0:30:48.590574799] [2526] INFO Camera camera.cpp:1183 configuring streams: (0) 640x360-RGB888 (1) 1280x720-SRGGB10_CSI2P
[0:30:48.592425834] [2530] INFO RPI vc4.cpp:616 Sensor: /base/soc/i2c0mux/i2c@1/arducam_64mp@1a - Selected sensor format: 1280x720-SRGGB10_1X10 - Selected unicam format: 1280x720-pRAA
File “/home/drone-project/articulated_robotics/PTZ-Camera-Controller/”, line 205, in main
curses.wrapper(draw_menu, camera, 1)
File “/usr/lib/python3.11/curses/”, line 94, in wrapper
return func(stdscr, *args, **kwds)
File “/home/drone-project/articulated_robotics/PTZ-Camera-Controller/”, line 191, in draw_menu
File “/home/drone-project/articulated_robotics/PTZ-Camera-Controller/”, line 72, in RenderMiddleText
focus_value = “Focus : {}”.format(focuser.get(Focuser.OPT_FOCUS))[:width-1]
File “/home/drone-project/articulated_robotics/PTZ-Camera-Controller/”, line 94, in get
File “/home/drone-project/articulated_robotics/PTZ-Camera-Controller/”, line 79, in waitingForFree
while self.isBusy() and count < (5 / 0.01):
File “/home/drone-project/articulated_robotics/PTZ-Camera-Controller/”, line 74, in isBusy
return,self.BUSY_REG_ADDR) != 0
File “/home/drone-project/articulated_robotics/PTZ-Camera-Controller/”, line 19, in read
value = self.bus.read_word_data(chip_addr,reg_addr)
OSError: [Errno 5] Input/output error

I may need to return the B0399B0283 camera I purchased because this is just wasting too much time.

I knew I wasn’t crazy when it had the ‘Z’ for ‘Zoom’.