This repository was archived by the owner on Oct 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
This repository was archived by the owner on Oct 10, 2022. It is now read-only.
[BUG] Does not work with Raspberry Pi camera v1 #108
Copy link
Copy link
Open
Labels
Description
I want to try out the Raspberry Pi camera for planetary imaging. I was able to compile latest master version on my Raspberry and get it running. My problem is that I can't start capturing with the camera (I'm using Raspberry Camera version 1.3)
To Reproduce
Steps to reproduce the behavior:
- run planetary imager (in my case with sudo)
- go to camera->open

- when opening the first entry, I have following error messages in the console:
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on querying resolutions (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
WARNING - V4L2 error (-1) Invalid argument (code: 22) on ioctl VIDIOC_ENUM_FMT (/home/pi/src/PlanetaryImager/src/drivers/v4l2/v4l2device.cpp:92)
Expected behavior
I'm able to capture planetary video with the raspi camera.
Desktop (please complete the following information):
- OS: Raspbian GNU/Linux 10 (buster)
- Application Version commit 20a03b8 (HEAD -> master, tag: v0.7.70_20200214_ci146, origin/master, origin/HEAD)
Additional context
I think the raspberry camera support should be quite interesting, especially with the new HD camera they released lately.
