×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Writing a driver for a home-made light panel

  • Posts: 456
  • Thank you received: 76
If I want to write a driver for a home made light panel (based on EL panel + relay) would it be enough to extend INDI::LightBoxInterface ?
Will the ekos automatic calibration tool use my driver if it extends this class?

Thanks,
Derek
8 years 1 month ago #6872

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

Yup! It's designed for this purpose, let me know how it goes!
The following user(s) said Thank You: Derek
8 years 1 month ago #6873

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

  • Posts: 456
  • Thank you received: 76
Jasem,

I wrote an indi driver and it seems to work. I can switch on/off the panel form the INDI Control panel in kstars.
However the automated flat feature in Ekos is not switching it on for some reason.

Some screenshots below....
My indi-driver code is here github.com/dokeeffe/qik-flat/tree/master/indi-driver/qik_flat

Derek


Last edit: 8 years 1 month ago by Derek.
8 years 1 month ago #6908
Attachments:

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

It's working here. I also removed "defineNumber(&LightIntensityNP);", you don't need to define it if you don't support it. Finally, the ADU is no longer the percentage but raw ADU value, so set it appropriately.

The following user(s) said Thank You: Derek
Last edit: 8 years 1 month ago by Jasem Mutlaq.
8 years 1 month ago #6918
Attachments:

    ekos_flat.mp4

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

  • Posts: 456
  • Thank you received: 76
Jasem,

I removed the LightIntensity variables and recompiled and its working now.

Thanks very much for going to the trouble of compiling my code and making the screen recording!!

Derek
8 years 1 month ago #6919

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

Time to create page: 1.158 seconds