×

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

Bi-monthly release with minor bug fixes and improvements

How does Ekos set the environment temperature?

  • Posts: 64
  • Thank you received: 2
I managed to run the debugger, and of course we get a null pointer for the property "TemperatureNP".
I also tried to understand the indi driver code, what the difference between TemperatureN and TemperatureNP is. But I think I would need help here.
3 years 10 months ago #53579

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

where exactly? can you share more details
3 years 10 months ago #53648

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

  • Posts: 64
  • Thank you received: 2
Hello Jasem,

In focus.cpp, method Focus::setAutoFocusResult, I always get a null pointer when trying to access the Temperature property (although the logs show the temperature, and it is displayed in the INDI control panel):
INDI::Property * np = currentFocuser->getProperty("TemperatureNP");

Meanwhile, I noticed I could get temperature value updates in Focus::processFocusNumber.
This is even better.
I will perform some tests and will soon propose my code for the feature.

Clear skies
3 years 10 months ago #53673

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

TemperatureNP is the variable name in the INDI driver, not the property name. The property name is FOCUS_TEMPERATURE
3 years 10 months ago #53677

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

  • Posts: 1957
  • Thank you received: 420
Just reviving this thread. Is there any news regarding possibly being able to have a temperature dependent auto-focus?


Thanks, Wouter
3 years 10 months ago #54215

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

  • Posts: 64
  • Thank you received: 2
Hello,
The feature is under review here:
phabricator.kde.org/D29821
The following user(s) said Thank You: Wouter van Reeven
3 years 10 months ago #54216

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

  • Posts: 398
  • Thank you received: 117
Also, while recently distracted by AD archive tool and PHD2 logViewer support (and trying to get some dark time imaging in as well), I do still intend to investigate adding the "else clause" referenced at the beginning of this thread so that folks with more generalized temperature sensors (e.g. PPB, PPB-V2) can have correlated focus/temperature log entries. I hope this data will lead to real-time, temperature based focus adjustments between images. Ideally, for well behaved setups, this could reduce the need for full focusing runs to start of night and/or one-off adjustments.
The following user(s) said Thank You: Wouter van Reeven
3 years 10 months ago #54226

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

  • Posts: 1957
  • Thank you received: 420

Please let us know when this has been merged so those of us using the nightly builds can start testing this.
3 years 10 months ago #54228

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

KStars migrated to Gitlab: invent.kde.org/education/kstars

So please re-submit the PR there so it can be reviewed and merged.
3 years 10 months ago #54229

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

  • Posts: 460
  • Thank you received: 69
invent.kde.org/education/kstars says:
Development
Important Note: Do not submit Pull Requests to Github. KStars repository on Github is just a mirror. All PRs will be closed automatically. To send patches to KStars, please use KDE's Phabricator system.

So I'm confused on the current interaction between Gitlab and Phabricator
3 years 10 months ago #54237

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

I need to fix that.. it's still true not to submit to Github, but instead to KDE's Gitlab
The following user(s) said Thank You: Jerry Black
3 years 10 months ago #54238

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

  • Posts: 64
  • Thank you received: 2
Hello,

How do I submit it to gitlab?
Thanks.

Regards,
Florian
3 years 10 months ago #54241

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

Time to create page: 0.672 seconds