Говори по русски
- User
Говори по русски
- Assistant
Конечно! Как я могу помочь?
- User
- Assistant
- User
Забыл добавить. Если я хочу подключится на самой рассбери к каждой камере отдельно, то я сначала слушаю i2c командой i2cdetect -l, затем выбираю одну из четырех таким образом# Set to single channel 0 i2cset -y 10 0x24 0x24 0x02
Set to single channel 1
i2cset -y 10 0x24 0x24 0x12
Set to single channel 2
i2cset -y 10 0x24 0x24 0x22
Set to single channel 3
i2cset -y 10 0x24 0x24 0x32 - затем если ввожу libcamera-still -t 0 - то выводится одна из камер. Измени свой код так чтобы я обращался к каждой камере командами i2cset -y 10 0x24 0x24 0x12
- Assistant
- User
0:13:16.539169357] [1680] INFO Camera camera_manager.cpp:325 libcamera v0.3.2+99-1230f78d [0:13:16.574543024] [1688] WARN RPiSdn sdn.cpp:40 Using legacy SDN tuning - please consider moving SDN inside rpi.denoise [0:13:16.577847727] [1688] INFO RPI vc4.cpp:447 Registered camera /base/soc/i2c0mux/i2c@1/imx708@1a to Unicam device /dev/media1 and ISP device /dev/media2 [0:13:16.577967820] [1688] INFO RPI pipeline_base.cpp:1120 Using configuration file '/usr/share/libcamera/pipeline/rpi/vc4/rpi_apps.yaml' [0:13:16.585740283] [1680] ERROR Camera camera.cpp:685 Camera in Acquired state trying acquire() requiring state Available Camera init sequence did not complete. Traceback (most recent call last): File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 269, in init self._open_camera() File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 478, in _open_camera self.camera.acquire() RuntimeError: Failed to acquire camera: Device or resource busy
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "", line 87, in File "", line 87, in File "/usr/lib/python3/dist-packages/picamera2/picamera2.py", line 281, in init raise RuntimeError("Camera sequence did not complete.") RuntimeError: Camera sequence did not complete. - как исправить эту ошибку
- Assistant
- User
Выдает ту же ошибку....
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.