Closed copterspace closed 3 years ago
Update: I checked out to to 0.12.0 version (git checkout v-tiscamera-0.12.0
) - it works like a charm again, on both Pythons:
pi@HSPR-6066:~/tiscamera/examples/python $ python3 02-set-properties.py
Expposure Auto has value: True
Gain Auto has value: True
Exposure has value: 12700
Expposure Auto has value: False
Gain Auto has value: False
Exposure has value: 3000
pi@HSPR-6066:~/tiscamera/examples/python $ python 02-set-properties.py
Expposure Auto has value: True
Gain Auto has value: True
Exposure has value: 3000
Expposure Auto has value: False
Gain Auto has value: False
Exposure has value: 3000
so, it seems, it's a new release issue...
Dear friends, I test DMM 42BUC03-MLA V4L2 on Raspberry PI.
Code from
02-set-properties.py
worked OK (and still works OK) on Python 2.7 on 2020-02-13-raspbian-buster-lite, tiscamera software version 0.12.0 I set up this summer.Now I built up a new system on 2020-12-02-raspios-buster-armhf-lite, installed latest tiscamera software 0.13.0 from github, and switched to Python 3.7. When I run this code from 02-set-properties.py on upgraded system:
it errors out:
Although same camera on same Raspberry PI with previous version of setup runs this code OK with Python 2.7:
Please help me recover the new setup from this error, what should I do:
Bellow is full parameters of both setups. Old (working good setup): Python 2.7 on 2020-02-13-raspbian-buster-lite
New (broken) setup: Python 3.7 on 2020-12-02-raspios-buster-armhf-lite