×
INDI Library v1.8.6 Released (21 Aug 2020)

August 2020 release of INDI Library v1.8.6 introduces new drivers while providing fixes and improvements to existing devices and core framework.

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

4 months 4 days ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2341
Karma: 22
More
Topic Author
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #55781
So, to give an update: Now that the repo is mostly perfected and almost ready for integration into programs except for a couple of remaining issues, a friend of mine is helping me to do a code review. I am also working on how other programs will interface with it. He and I are playing with integrating it into KStars now. I also figured that before we get too far, I would attempt a renaming. The name sexysolver came naturally from blending the words Sextractor and Solver which is very descriptive of what the library does. However, several people expressed concern about the name, and not just for puritanical reasons. Recently another friend told me that some people's workplaces might filter or block anything that has the word sexy or sex in it, which could mean that they would be unable to work with the library due to the name. So I have thought about it for a couple of weeks and decided that the name StellarSolver is close enough and still pretty catchy.

I am not 100% sure that I have sorted out all the issues with renaming it yet, since it took me a few steps, but it seems to be mostly good now.

As for how you update, are you currently using Linux, Mac, or Windows? If it is Linux, you can first "git pull" and then use one of the two install scripts that I put in the linux-scripts folder. I did verify that this worked properly yesterday. If it is Mac or Windows, even though I code on my Mac, for distribution I have been releasing craft recipes and binary distributions of the tester. Before I do that, I need to do more testing today to make sure everything works and that I updated the craft recipes properly.

An interesting thing that I noticed: Even though I changed the name of the repo from sexysolver-tester to stellarsolver, the old links still work fine and if you already cloned the repo, you can just do a "git pull" since it is actually still the same repository.
The following user(s) said Thank You TallFurryMan, pug916

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

4 months 4 days ago
han.k
Gold Boarder
Gold Boarder
Posts: 305
Karma: 6
More
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #55784

rlancaste wrote: S So I have thought about it for a couple of weeks and decided that the name StellarSolver is close enough and still pretty catchy.

That's much better name. I'm glad you changed it!
The following user(s) said Thank You pug916

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

4 months 4 days ago 4 months 4 days ago by T-Studio.
T-Studio
Gold Boarder
Gold Boarder
Posts: 364
Karma: 1
More
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #55801
Thank you for your reply
It seems that I was able to update by the following procedure.

cd /home/xxxxx/sexysolver-tester

git pull

cd /home/xxxxx/sexysolver-tester/linux-scripts

./installStellarSolverLibrary.sh

./installStellarSolverTester.sh

xxxxx is the user directory

afterwards

sexysolver-tester → StellarSolver
Renamed to

/usr/bin/sexysolver-tester
Remove

Remove desktop icon

Was the procedure okay with this?

It seems that you can use this procedure.

It may be better to be listed on github as it requires some steps.
The following user(s) said Thank You pug916

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

4 months 3 days ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2341
Karma: 22
More
Topic Author
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #55804
Yes, it sounds like that would work pretty well. I am hoping that when I am done it won't be so many steps.

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

4 months 3 days ago
DerPit
Platinum Boarder
Platinum Boarder
Posts: 545
Karma: 1
More
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #55808
Hi Rob,
seems you've hardcoded the destination /usr/lib/libstellarsolver.a in the makefile. Shouldn't that use LIBDIR? On my system, 64bit stuff goes to /usr/lib64 :o

openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI1600+EFW+EAF+ASI290 mini

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

4 months 3 days ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2341
Karma: 22
More
Topic Author
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #55819
Hi, I think I have it going to both places actually. If you check, it should also be in the libdir. I had to put it in both places because I have had issues in the past on some systems not being able to find libraries in the libdir or libdir not properly being set. For example, I have been on some raspberry pi systems and all the INDI libraries got installed in the libdir, but then when another program tried to find them, it looked in /usr/lib and couldn't find them since they were in the libdir. So I think it might be good to install in both places just in case.

install(TARGETS stellarsolverstatic DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/")
install(TARGETS stellarsolver DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/")
install(TARGETS stellarsolverstatic DESTINATION ${CMAKE_INSTALL_LIBDIR})
install(TARGETS stellarsolver DESTINATION ${CMAKE_INSTALL_LIBDIR})
The following user(s) said Thank You DerPit

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

4 months 3 days ago
DerPit
Platinum Boarder
Platinum Boarder
Posts: 545
Karma: 1
More
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #55840
Ah thanks. Yes, I realized too late that both get installed.. Somewhat nasty, as those two should separate 64 and 32 bit libs... But no huge issue indeed.

openSUSE Tumbleweed KStars git INDI git
GPDX+EQMOD, CEM60EC, ASI1600+EFW+EAF+ASI290 mini

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

2 months 5 days ago
han.k
Gold Boarder
Gold Boarder
Posts: 305
Karma: 6
More
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #58333
Hello Robert,

What's next for the StellarSolver?

Han

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

2 months 5 days ago
rlancaste
Supernova Explorer
Supernova Explorer
Posts: 2341
Karma: 22
More
Topic Author
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #58335
So I was working on getting it working in KStars, having somebody do a code review, and making revisions based upon things I find during the integration process. I was working on that in June, but then I took a bit of a break from it because I would like to get some other things done and I was working almost exclusively on that as my non work related project for a couple of months. I had a bunch of other projects that were getting neglected. I will be hopefully getting back to it this week I hope. I made a lot of progress on the other projects. I need to probably better manage my time so that I can do more than one project at once. But I am definitely hoping to make good progress on it this week.

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

2 months 3 days ago
han.k
Gold Boarder
Gold Boarder
Posts: 305
Karma: 6
More
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #58378

rlancaste wrote: In reference to your our discussion about taking results from sextractor into ASTAP,

So the output of sextractor is just a binary fits table (It can also do ASCII, but astrometry.net didn't want to read those files). The column headings are very specific just to let you know. For example, the X position of a star has the heading X_IMAGE. And likewise for the other headings that I mentioned to you before.

I can certainly combine the data returned by sextractor with the data currently in the image buffer and save that as a FITS file with the appropriate FITS headers as you mentioned. But that would mean that a user would have to use my program in order to produce a file acceptable for ASTAP, since this would be a brand new format basically.

Part of the appeal of reading in an XYLS file and the options the way it works in astrometry.net would be the flexibility. A user could use sextractor, SEP, or maybe even astrometry.net to get the star info from an image. Then they could send that information directly to ASTAP to solve. They wouldn't need my program to do this because the format would already be compatible.

Obviously, ultimately, whichever way you want to accept the information into ASTAP would be fine with me, since I'm just making an interface for all these solvers and I've already had to make a number of adaptations to accommodate the differences between them. I definitely do understand the appeal of having the image data come along with the table of information. So, I can do it your way if you like.


For the record, ASTAP can still read and display these XYLS files but in the next ASTAP version 0.9.410, I will remove the possibility to use them as an input to the ASTAP solver. At the moment I don't think this option will be ever used. I like to clean up the ASTAP code and secondly the ASTAP source extractor is also improved making sextractor usage less desirable.

Han

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

1 week 6 days ago
xsnrg
Administrator
Administrator
Posts: 344
Karma: 4
More
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #61298
Greetings all, and thank you for all the work on stellarsolver @rlancaste.

Last night, I put a PR up to add the spec file to stellarsolver. This allows an RPM to be built for systems that use RPM packages. I successfully built the RPMs from the branch the PR is created from for all current (and future) Fedora versions and made them available. Once the PR is merged to master, I will update the docs here with how to add the repository. This branch build also allowed me to make new kstars packages available that include stellarsolver. From version `1:3.5.0.git-20201009051405.fc32` and newer, stellarsolver will be included with kstars in the RPM, and is listed as a required dependency in the package.

Jim

12" pier with HDX110 using EQMod
ASI 1600 mono/color mains with ASI290MM in off-axis
ASI filter wheel
Moonlite focusers for the sharpening
AT115EDT w/.8x for the light
Fedora Linux, 100% INDI

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

1 week 6 days ago
mlarsson
Gold Boarder
Gold Boarder
Posts: 456
Karma: 1
More
New Internal Solver for Mac, Windows, and Linux -- Testing/ Experiments needed #61299
Hi!

Trying to test this for the first time, I pulled down the code from git. Following the instructions on Github, I should then run
./installLinux.sh

However, I find no such script. Is it still the two install scripts in linux-scripts folder that are to be used?

Magnus


Celestron C8, Skywatcher 100 ED Pro
Losmandy G11
Atik 383L+, ASI294

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

Time to create page: 1.026 seconds