-
Notifications
You must be signed in to change notification settings - Fork 0
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
NAO v6 dark image issue #1
Comments
I am very sorry. I must have missed the notification on this one. Have you resolved your issue in the meantime? We had some serious problems with the v6 cameras, yes. I can ask my team what we changed in comparison to v5 if you still need that information. |
Hi,
My camera issue is still unresolved. It is good to know that there is solution to fix it! Could you kindly give me the information or method to fix the issue?
Best Regards,
Raymond
On 10 Apr 2020, at 5:50 AM, René Kost ***@***.***> wrote:
I am very sorry. I must have missed the notification on this one. Have you resolved your issue in the meantime? We had some serious problems with the v6 cameras, yes. I can ask my team what we changed in comparison to v5 if you still need that information.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
What settings do you currently use to setup the camera? Are you using v4l2 only? Maybe check out our code release which contains functions to modify camera register values that are not accessible via v4l2: https://github.com/HULKs/HULKsCodeRelease/blob/master/src/tuhhsdk/Hardware/Nao/v6/Nao6Camera.cpp Currently we are using these default settings. We also found out that the camera settings are not always applied. Have a look at our V4L2CtrlSetting class and it's implementation to get an idea what operations may fail and need to be retried. So maybe you already have a sane config, but it is not applied correctly. |
Really thanks for your help!! According to your default settings, you have auto-exposure turned off and have exposure fixed at 25000. Could you turn on your auto-exposure and see if the images captured are dark or normal? Actually I have done quite some studies in the past few months and if my finding is correct, the issue is because incorrect default settings are being set to the following registers:
I had reported my findings to Softbank Robotics but they said they couldn’t repeat the dark image problem I have. So I don’t know if they will look into the issue seriously. This is the reason I am eager to ask if there is other people who has the same dark image problem on their NAO v6. At least I want to see if the problem is unique to me or common. |
We have played with auto.exposure turned on and I remember that we used it especially on locations with bad lighting. So that works just fine. |
Our default settings enable auto exposure. The 0x3A0E : Indeed i am able to reproduce the dark image issue! But i need to say that we never had any brighter images. The dark image was our default. Only with configuration of |
I took my NAO v6 to another place to give it a test. It is a big room with proper lighting. Bright images could be captured (with luminance 0x56A1 > 40). It makes me believe that the default settings come with NAO v6 work in some very standard environments only. In a small room with furnitures in different colors, like mine, even with all the lights turned on, dark image is resulted (with luminance 0x56A1 < 20). I had NAO v5 before and it didn’t have any dark camera issue and values of these two registers in NAO v5’s ov5640.ko are set bigger than one. So it should be the improper default settings come with NAO v6 which limit the range of exposure the cameras can have. I do believe the 50Hz/60Hz Max Bands in One Frame registers shouldn’t be 1 as these two registers can control the maximum exposure time the camera can have and these two registers should change according to the screen size and fps of the camera. With bigger value set, bright images can be got. Unfortunately the OV5640 cameras in NAO v6 are USB-based. The issue could be fixed in firmware level only. I have this finding, together with the low AEC Gain Ceiling issue, reported to Softbank Robotics. Hope that they will look into it seriously and ask Leopard, the camera manufacturer, to fix the firmware issue. |
I know that it may not be the right place to ask my question here but as I find no help from Softbank, so just try and see if I can get some help here. I have both NAO v5 and v6. Compared to v5, I find that, with the default settings, the images captured from both the V6’s cameras are pretty dark. I have to adjust the brightness setting in order to make the images bright. Is it normal? Do you have similar issue on your V6v
The text was updated successfully, but these errors were encountered: