INDI LibCamera Driver

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

One step at the time :)

I have found out that issue is in invoking
INDI::CCD::ISGetProperties
Main problem is that I cannot even start driver so I cannot attach debugger to it...

I am trying now to compile indi so I can debug that but having issues. Any help greatly appriciated..

indilib.org/forum/development/12628-use-...or-is-ambiguous.html
The following user(s) said Thank You: Simon
1 year 10 months ago #88111

Please Log in or Create an account to join the conversation.

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver

OUTTA I understand what you are doing, but I'm developer from parallel universe called Windows. So I can't help here. But I did noticed that guys developing indi_allsky already have libcamera (libcamera support (imx477, imx378, etc)) support, maybe they can help?

github.com/aaronwmorris/indi-allsky
1 year 10 months ago #88116

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

Hi Simon, Indeed I am developer from same universe C#/.net but I believe I can manage this as well. Thank you on that find, but it seems that they are using python! That is interesting I was not aware that is possible as well, interesting implementation but unfortunately translating it would be piece of work. As I saw job that Jason did is more than good, but we need to make it more stable now. Test it on multiple devices, load initial settings and modes (as libcamera apps use resolution modes instead of binning+ROI).

Binning and ROI are possible, but it does not effect performance as Analog crop has not been implemented by any of camerea drivers I noticed.
1 year 10 months ago #88118

Please Log in or Create an account to join the conversation.

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver

I'm glad to hear that we are from same universe and speaking same language ;)
If you can share some information, how to setup developing environment on Linux, what developing tools to use, how to build everything, I can a least help with testing for a start.
I have Raspbery PI 4 with latest version of Stelarmate 64bit installed and HQ Camera with IMX477 connected to it.
1 year 10 months ago #88121

Please Log in or Create an account to join the conversation.

INDI LibCamera Driver - Page 2 - INDI Forum - Results from #12
  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

Replied by Jasem Mutlaq on topic INDI LibCamera Driver

You need to set GDB settings for this to work, see screenshot
The following user(s) said Thank You: Outta
1 year 10 months ago #88142
Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

I am in! Thanks! I think I might be useful now :D
So 528 cameraManager.reset(); is culprit for crashing, I think this has something with libcamera as well as there is commit similar to this on libcamera.

All in all I will be able to debug now and I will try to make driver more stable.

Simon you can try to run it as well, our environments are a bit different, but more the merrier. You have initial commands, then install QT creator(sudo apt install qtcreator)
then follow this tutorial:

www.indilib.org/developers/deveioper-man...ent-environment.html

I think you can skip steps building and installing just indi as you should have it on stellarmate
Last edit: 1 year 10 months ago by Outta.
1 year 10 months ago #88146

Please Log in or Create an account to join the conversation.


×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 119
  • Thank you received: 36

Replied by Simon on topic INDI LibCamera Driver


Rendering Error in layout Message/Item: array_keys(): Argument #1 ($array) must be of type array, null given. Please enable debug mode for more information.

Please Log in or Create an account to join the conversation.

  • Posts: 124
  • Thank you received: 13

Replied by Outta on topic INDI LibCamera Driver

do the line 44 and contiue, I should have removed 33, will edit now.
The following user(s) said Thank You: Simon
1 year 10 months ago #88152

Please Log in or Create an account to join the conversation.

Time to create page: 0.782 seconds