Florian Signoret replied to the topic 'Ekos Alerts/Texts' in the forum. 4 days ago

Hello,

On my side, I am using the notifications to launch a small java program playing a mp3 file.
This warns me when the sequence stopped, and I can snooze it by closing the app (which you cannot do if you run the sound directly).

However, I did not find the appropriate event to use.
For example, when I stop the sequence manually, the alarm is triggered.

Read More...

Florian Signoret replied to the topic 'Progressive "Refocus every" in EKOS' in the forum. 4 weeks ago

dmsummers wrote: @Alex, If you use a Pegasus PowerBox, or V2, or any other sensor that reports temperature via "WEATHER_TEMPERATURE", (i.e. if you see temperature reported in the dome tab), then you will likely be able to use the autofocus delta-T feature that florian mentions.


Hello, this is unfortunately not true. Only the focuser temperature will work. Not the observatory one. The weather temperature was added after my feature implementation, and was not made available to it.

I would also advise, like others, to start telescope cooling more in advance, so that it gets more stable sooner.

Clear skies.

Read More...

Florian Signoret replied to the topic 'Progressive "Refocus every" in EKOS' in the forum. 4 weeks ago

Hello,
If your focus issue is indeed due to the temperature, I think it could be solved by the feature I recently developed : trigger autofocus on temperature change. It uses the focuser probe, if available, to compare the last focus temperature to the current temperature, and triggers the autofocus in case it reaches the specified limit.

The feature should be delivered in the next release, but you can test it with the nightly.

Clear skies!

Read More...

Florian Signoret replied to the topic 'Drift Limit' in the forum. 2 months ago

Hello,

How could it be possible to have drift if you are guiding?

Read More...

Hello,

How do I submit it to gitlab?
Thanks.

Regards,
Florian

Read More...

Florian Signoret replied to the topic 'How does Ekos set the environment temperature?' in the forum. 2 months ago

Hello,
The feature is under review here:
phabricator.kde.org/D29821

Read More...

Florian Signoret replied to the topic 'How does Ekos set the environment temperature?' in the forum. 2 months ago

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

Read More...

Florian Signoret replied to the topic 'How does Ekos set the environment temperature?' in the forum. 2 months ago

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.

Read More...

Florian Signoret replied to the topic 'How does Ekos set the environment temperature?' in the forum. 2 months ago

Hello,

I am currently having a look on how this Delta T > threshold focus trigger could be implemented.
Like for you, the learning curve is a bit hard.
My USB Focus V2 does have a temperature probe, but it seems I am still getting the default value -274.

Read More...

Florian Signoret replied to the topic 'Error build source' in the forum. 3 months ago

Hello,

Tried to build kstars for the first time, on Ubuntu 18.04.
Same error:

Scanning dependencies of target testfitsdata
[ 98%] Building CXX object Tests/fitsviewer/CMakeFiles/testfitsdata.dir/testfitsdata.cpp.o
[ 99%] Building CXX object Tests/fitsviewer/CMakeFiles/testfitsdata.dir/testfitsdata_autogen/mocs_compilation.cpp.o
[ 99%] Linking CXX executable testfitsdata
CMakeFiles/testfitsdata.dir/testfitsdata.cpp.o : Dans la fonction « TestFitsData::testLoadFits() » :
/home/florian/dev/kstars/Tests/fitsviewer/testfitsdata.cpp:92 : référence indéfinie vers « bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int) »
/home/florian/dev/kstars/Tests/fitsviewer/testfitsdata.cpp:93 : référence indéfinie vers « bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int) »
/home/florian/dev/kstars/Tests/fitsviewer/testfitsdata.cpp:96 : référence indéfinie vers « bool QTest::qCompare<double, int>(double const&, int const&, char const*, char const*, char const*, int) »
collect2: error: ld returned 1 exit status
Tests/fitsviewer/CMakeFiles/testfitsdata.dir/build.make:133: recipe for target 'Tests/fitsviewer/testfitsdata' failed
make[2]: *** [Tests/fitsviewer/testfitsdata] Error 1
CMakeFiles/Makefile2:1795: recipe for target 'Tests/fitsviewer/CMakeFiles/testfitsdata.dir/all' failed
make[1]: *** [Tests/fitsviewer/CMakeFiles/testfitsdata.dir/all] Error 2
Makefile:140: recipe for target 'all' failed
make: *** [all] Error 2


Read More...

Florian Signoret replied to the topic 'Scheduled refocus failing' in the forum. 4 months ago

Thank you!
When is the next maintenance delivery scheduled?
Clear skies,
Florian

Read More...

Florian Signoret created a new topic ' Scheduled refocus failing' in the forum. 4 months ago

Hello !

I recently updated kstars to the latest version (Build: 2020-02-23T18:06:07Z) in order to get the new features (the new focus algorithm is great!! Thanks!).

However, since then, I am experiencing issues when a scheduled refocus is triggered.
The issue is present for all scheduled refocus (but the filter change focus still works like a charm).

I attach the logs in this post. Here is what happens:

1. After some images are captured, a scheduled refocus is triggered:

[2020-03-28T20:44:02.838 CET INFO ][   org.kde.kstars.ekos.capture] - "Scheduled refocus starting after 1821 seconds..."
[2020-03-28T20:44:02.840 CET DEBG ][     org.kde.kstars.ekos.focus] - Frame is reset. X: 0 Y: 0 W: 3354 H: 2529 binX: 1 binY: 1
[2020-03-28T20:44:02.841 CET DEBG ][   org.kde.kstars.ekos.capture] - Capture is triggering autofocus on line 1904.
[2020-03-28T20:44:02.841 CET DEBG ][     org.kde.kstars.ekos.focus] - Check Focus requested with minimum required HFR 0.1
[2020-03-28T20:44:02.842 CET INFO ][     org.kde.kstars.ekos.focus] - "Capturing image..."

I am a bit surprised the log says bin1, although bin2 is selected in the focus module. Also note I did not specify a minimum HFR.

2. An image is being taken by the camera, but guiding was not paused!
[2020-03-28T20:44:06.233 CET DEBG ][     org.kde.kstars.ekos.guide] - PHD2: event: "{\"Event\":\"GuideStep\",\"Timestamp\":1585424646.232,\"Host\":\"florian-U36SD\",\"Inst\":1,\"Frame\":481,\"Time\":1804.307,\"Mount\":\"On Camera\",\"dx\":0.644,\"dy\":-0.172,\"RADistanceRaw\":0.658,\"DECDistanceRaw\":-0.032,\"RADistanceGuide\":0.428,\"DECDistanceGuide\":0.000,\"RADuration\":97,\"RADirection\":\"West\",\"StarMass\":5160,\"SNR\":32.52,\"HFD\":3.07,\"AvgDist\":0.52}\r\n"
[2020-03-28T20:44:06.258 CET DEBG ][     org.kde.kstars.ekos.guide] - PHD2: request: "{\"id\":474,\"jsonrpc\":\"2.0\",\"method\":\"get_lock_position\"}"

3. The image is downloaded:
[2020-03-28T20:44:08.005 CET DEBG ][           org.kde.kstars.indi] - Atik 383L : "[DEBUG] Uploading file. Ext: fits, Size: 4248000, sendImage? Yes, saveImage? No "
[2020-03-28T20:44:08.168 CET DEBG ][           org.kde.kstars.indi] - USBFocusV3 : "[DEBUG] CMD: FPOSRO. "
[2020-03-28T20:44:08.262 CET DEBG ][           org.kde.kstars.indi] - Atik 383L : "[DEBUG] BLOB transfer took 0.231732 seconds "
[2020-03-28T20:44:08.266 CET DEBG ][           org.kde.kstars.indi] - Atik 383L : "[DEBUG] Upload complete "

[2020-03-28T20:44:08.774 CET INFO ][           org.kde.kstars.fits] - Reading FITS file buffer 
[2020-03-28T20:44:08.858 CET INFO ][     org.kde.kstars.ekos.focus] - "Image received."
[2020-03-28T20:44:08.868 CET DEBG ][     org.kde.kstars.ekos.focus] - Focus newFITS # 1 : Current HFR  1.08186  Num stars  2

4. Nothing happens. Guiding is still on-going, the scheduler still waits for the focus to finish.
After a few minutes, I decide to click the Autofocus button in the focus module.
This time, the focus procedure is working fine, guiding is paused, focus is done, and sequence is resumed:
[2020-03-28T20:46:46.176 CET DEBG ][     org.kde.kstars.ekos.focus] - Starting focus with box size:  208  Subframe:  no  Autostar:  yes  Full frame:  no   [ 0 %, 100 %]  Step Size:  150  Threshold:  150  Tolerance:  5  Frames:  1  Maximum Travel:  50000
[2020-03-28T20:46:46.176 CET INFO ][     org.kde.kstars.ekos.focus] - "Autofocus in progress..."
[2020-03-28T20:46:46.177 CET DEBG ][     org.kde.kstars.ekos.guide] - PHD2: request: "{\"id\":517,\"jsonrpc\":\"2.0\",\"method\":\"set_paused\",\"params\":[true,\"full\"]}"
[2020-03-28T20:46:46.177 CET DEBG ][     org.kde.kstars.ekos.focus] - State: "In Progress"
[2020-03-28T20:46:46.177 CET DEBG ][   org.kde.kstars.ekos.capture] - setFocusStatus:  5
[2020-03-28T20:46:46.177 CET INFO ][     org.kde.kstars.ekos.focus] - "Capturing image..."
[2020-03-28T20:46:46.178 CET DEBG ][           org.kde.kstars.indi] - Losmandy Gemini : "[DEBUG] RES: <W> "
[2020-03-28T20:46:46.211 CET DEBG ][     org.kde.kstars.ekos.guide] - PHD2: event: "{\"Event\":\"Paused\",\"Timestamp\":1585424806.211,\"Host\":\"florian-U36SD\",\"Inst\":1}\r\n"
[2020-03-28T20:46:46.212 CET INFO ][     org.kde.kstars.ekos.guide] - "PHD2: Guiding Paused."
[2020-03-28T20:46:46.212 CET DEBG ][   org.kde.kstars.ekos.capture] - Guiding state changed from "Guiding" to "Suspended"
[2020-03-28T20:46:46.213 CET INFO ][     org.kde.kstars.ekos.guide] - "Guiding suspended."
[2020-03-28T20:46:46.215 CET DEBG ][     org.kde.kstars.ekos.guide] - PHD2: response: "{\"jsonrpc\":\"2.0\",\"result\":0,\"id\":517}\r\n"

The issue was reproduced several times, even on different nights. There must be a regression here.

Could you please have a look?

Thank you!
Clear skies
Florian

Read More...