New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
indi_rpicam unable to set shutter speed for long exposures in EKOS #271
Comments
@lboclboc Can you please take a look at this? |
I know there was problem with this earlier. Make sure you use the latest rpicam version. Im not sure what version astroberry is using. |
Meanwhile I modified the code, set the camera to burst mode, set the CAPTURE_STATS_PASS just before setting the ananlog gain. Result is stunning: Trying to create a 9 second exposure gives me on the first capture a 1 second exposure, all subsequent exposures are correct. I checked this by taking a picture of an analog clock. So it has to do something with the preview feature of this camera. |
Hi, I have uploaded some fixes now, mostly made by https://github.com/QRainman, to my master branch https://github.com/lboclboc/indi-3rdparty that hopefully solves the long exposure problems. You are welcome to test this out. |
Unfortunately this does not help. |
@lboclboc @cnieswand is this still an issue with the latest RPICam driver? |
Yes, sadly this is still a problem. I have not been able to find a solution for this yet. |
I discovered another interesting behavior. Long exposures do work, but only if the first (throw away) exposure is requested as 2 seconds or longer. If the first exposure is 1s or shorter, none of the exposures will exceed 1s even if you request longer. |
Correction, a 2 second throw away exposure allows up to a 6-7 second exposure. Taking a 7 second throw away exposure seems to allow the maximum exposure times. |
I can confirm that with INDi 1.9.5 and Kstars 3.5.8, taking first exposure at exactly 7 sec, solves the problem. All exposures that you take after that are corect. Use following workarround if your exposure times don't work:
I hope that this information is useful for devs to pin point the bug and fix it? |
I'm using indi_rpicam v.1.3 compiled from latest sources today, indi build from recent sources yesterday. It seems like I can't set exposure more than 6 seconds (2022-06-22T20:21:32: [ERROR] Requested exposure value (7) seconds out of bounds [0.001,6])
Does this driver support longer than 1 sec exposure or not? |
According to this, we are getting fix for this problem soon! Yeeea! |
I am using a Raspberry HQ Cam on a PI 4B running Astroberry 2.0.3.
Running KStars/EKOS using the indi_rpicam driver does not allow me to select any reasonable exposure time. Whatever is entered I always get the same image, especially for exposuretimes larger than a second. I can never saturate the sensor by lengthing the exposure time.
I have cloned the indi-3rdparty git repository and can easily modify, compile and debug the indi_rpicam driver.
However whatever I do, there is no way to set the shutter speed of the camera correctly.
Increasing the gain gives saturated output on all color channels.
I also did a rpi-update with no success.
I have noted that the line in mmalcamera.cpp, where the shutterspeed is set, is already marked:
So I guess that this is a known problem but I do not see any issue regarding this problem.
Is there any progress?
The text was updated successfully, but these errors were encountered: