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
Traceback (most recent call last):
File "./capture.py", line 30, in <module>
cap()
File "./capture.py", line 14, in cap
camera.shutter_speed = 200 * 1e3
File "/usr/lib/python3/dist-packages/picamera/camera.py", line 2594, in _set_shutter_speed
self._camera.control.params[mmal.MMAL_PARAMETER_SHUTTER_SPEED] = value
File "/usr/lib/python3/dist-packages/picamera/mmalobj.py", line 1493, in __setitem__
func(self._port, key, conv(value)),
ctypes.ArgumentError: argument 3: <class 'TypeError'>: wrong type
I suggest that either the conversion is automatic (PR to follow) or the error message be made a bit more friendly.
Activity