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.
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):
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.
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
120 MM Skywatcher Esprit on Celestron CGX, ZWO ASI 224MC guiding, Pegasus FocusCube v2
Nikon Z7 8256 x 5504, 35.9 x 23.9mm 4.34 um. Triad Ultra Quad NB Filter
1) Odroid-N2 Ubuntu-mate 20.04 2) StellarMate on RPI4 8G
The good, the bad, the ugly at sciencedowneast.no-ip.ca/zenphoto/