×

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

Bi-monthly release with minor bug fixes and improvements

New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed

  • Posts: 460
  • Thank you received: 69
3 years 5 months ago #62190

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

  • Posts: 106
  • Thank you received: 4
Jasem, thank you.
The update to stellarsolver's CMakeLists.txt works on Kubuntu 20.04 and I'am able to build KStars again.
Powered by

GNU / Linux
Git
KDE neon
KStars | EKOS | INDI

and some cheap hardware
3 years 5 months ago #62191

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

  • Posts: 2877
  • Thank you received: 812
Yes, he changed both KStars and sent me a pull request for Stellarsolver today to change the way the package is installed and found. Apparently this change will fix a windows build issue.
The following user(s) said Thank You: Jerry Black
3 years 5 months ago #62192

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

  • Posts: 460
  • Thank you received: 69
Thanks. Removing both kstars and stellarsolver and starting from scratch appears to fixed my stellarsolver cmake issue.
3 years 5 months ago #62193

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

  • Posts: 33
  • Thank you received: 7
I'm having definite stability issues with stellarsolver. Align seems to be working fine, but running a dummy sequence with the simulators is failing somewhere in the FITS processing post capture. This has been consistent over the last few days as I have been keeping up with the changes. The SEGV goes not always occur in the exact same place, but it always occurs when doing analysis. I turned off all of the HFR calculation options and WCS load options for FITS and Ekos, but it still seems some calls go out to stellarsolver.

I am also guiding (simulated) at the time with SEP multistar, so perhaps there is a race condition between SEP in guiding and SEP in FITS analysis. I'm not sure if any of the changes made it across to guiding yet. There are references to guiding in the backtrace, but I have no idea if that has any relevance or not.

The back trace from the core dump is attached.

J.
Last edit: 3 years 5 months ago by Jeremy Burton.
3 years 5 months ago #62198
Attachments:

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

  • Posts: 2877
  • Thank you received: 812
I might be reading this wrong, because it is fairly late in the evening for me, but it looks to me like this crash occurred in KStars during guiding, after StellarSolver returned the star list, but before the method to find the guide stars completed? Perhaps the list was still needed and it got deleted in KStars too soon? I will send this to Jasem and see if he agrees.
3 years 5 months ago #62212

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

Right, I just pushed a possible protection against that. I guess under some circumstances, the fits data object can be destroyed while the extraction is still in process.
3 years 5 months ago #62216

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

  • Posts: 333
  • Thank you received: 92

If there are still problems with star extraction you could consider the ASTAP v0.9.442 extraction option . For an other problem I have added the option to write the extracted stars to a comma separated csv file:

-extract snr_minimum

The snr_minimum is the minimum star snr value required. Default at 30 but for solving snr_minimum=10 should be used. The output file has the same name as the image but with extension .csv and is containing the comma separated data as shown below:

It is a development version compiled for Linux and Windows. Mac and Raspberry Pi are outstanding.

Han
Last edit: 3 years 5 months ago by han.
3 years 5 months ago #62217
Attachments:

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

  • Posts: 2877
  • Thank you received: 812
Thank you very much Han,

We were having an issue about a week ago with star extraction. We only found out about the issue during the integration. KStars already used SEP as you know and StellarSolver used it as well in the same way so we figured there would be no problems with that. But then we wanted to make star extraction asynchronous in KStars and then We encountered some crashes and we found that SEP had some global variables that did not work well with running it in multiple places at once. It would have been the same problem whether we were using StellarSolver or KStars to run SEP, but before this, we only ran it synchronously in one place at a time. So this wasn’t actually caused by StellarSolver but it was revealed during our integration of it. So while I was working on integrating StellarSolver itself, Jasem worked on making SEP non global. After the did that we were able to parallelize SEP and added a significant speed boost. Now it works pretty well.

Thank you very much for the additional features though, we can try adding that as an option!
3 years 5 months ago #62218

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

  • Posts: 333
  • Thank you received: 92
Extracting very faint stars is not easy, but important for solving. I think ASTAP performs very simular as Sextractor. Having SEP internally will be from programmers point of view a superior solution but see how ASTAP performs :)
3 years 5 months ago #62219

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

  • Posts: 33
  • Thank you received: 7

I did some more digging and have come to the same conclusion - it's related to guiding. I switched guiding to not use SEP at all, and my test ran smoothly for 10 hours. It's not done that before with the stellarsolver branch.

I see Jasem has made some changes, so I will pull that and see if it improves things.

J.
3 years 5 months ago #62220

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

  • Posts: 1309
  • Thank you received: 226
Can we get a warning in the status output for low star SNR with a recommendation to increase exposure time?
3 years 5 months ago #62222

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

Time to create page: 0.733 seconds