You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i just tried to use the given examples and get the following stacktrace:
pi@raspberrypi:~/PTZ-Camera-Controller/pyCode $ sudo python FocuserExample.py
Traceback (most recent call last):
File "FocuserExample.py", line 233, in
main()
File "FocuserExample.py", line 225, in main
curses.wrapper(draw_menu,camera)
File "/usr/lib/python2.7/curses/wrapper.py", line 43, in wrapper
return func(stdscr, *args, **kwds)
File "FocuserExample.py", line 206, in draw_menu
RenderMiddleText(stdscr,k,focuser)
File "FocuserExample.py", line 84, in RenderMiddleText
focus_value = "Focus : {}".format(focuser.get(Focuser.OPT_FOCUS))[:width-1]
File "/home/pi/PTZ-Camera-Controller/pyCode/Focuser.py", line 120, in get
self.waitingForFree()
File "/home/pi/PTZ-Camera-Controller/pyCode/Focuser.py", line 69, in waitingForFree
while self.isBusy() and count < (5 / 0.01):
File "/home/pi/PTZ-Camera-Controller/pyCode/Focuser.py", line 65, in isBusy
return self.read(self.CHIP_I2C_ADDR,self.BUSY_REG_ADDR) != 0
File "/home/pi/PTZ-Camera-Controller/pyCode/Focuser.py", line 56, in read
value = self.bus.read_word_data(chip_addr,reg_addr)
IOError: [Errno 121] Remote I/O error`
I'm using a Raspberry Pi Model 3 B with Rasbian OS 10 Buster.
Hope you can help me solving this problem.
The text was updated successfully, but these errors were encountered:
Hello, I am having the exact same issue using Raspberry Pi Model 4 B.
using any of the FocuserExample.py or AutofocusExample.py gives me the same error.
configuration:
Raspberry pi 4 b 8Gb
Raspian buster
Camera was purchased and delivered Dec 2, 2020.
camera is enabled in config
i2c is enabled in config.
raspivid and raspistill produce images and video.
Using VNC to view desktop
Hi,
i just tried to use the given examples and get the following stacktrace:
I'm using a Raspberry Pi Model 3 B with Rasbian OS 10 Buster.
Hope you can help me solving this problem.
The text was updated successfully, but these errors were encountered: