×

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

Bi-monthly release with minor bug fixes and improvements

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

  • Posts: 535
  • Thank you received: 109
Rob, Jasem, contributers, and testers,

The amount of work and features going into this release is amazing. Thank you all very much.

Jim
3 years 5 months ago #62128

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

  • Posts: 1119
  • Thank you received: 182
I echo Jim's accolades! This will be great, but at the moment I am hitting a snag again when compiling from source:

[ 34%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/indi/indielement.cpp.o
[ 34%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/indi/indistd.cpp.o
[ 34%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/indi/indilistener.cpp.o
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indidevice.cpp:39:
/usr/include/libstellarsolver/parameters.h:211:16: warning: ‘QString SSolver::getLogLevelString(SSolver::logging_level)’ defined but not used [-Wunused-function]
211 | static QString getLogLevelString(SSolver::logging_level logLevel)
| ^~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:170:16: warning: ‘QString SSolver::getMultiAlgoString(SSolver::MultiAlgo)’ defined but not used [-Wunused-function]
170 | static QString getMultiAlgoString(SSolver::MultiAlgo multi)
| ^~~~~~~~~~~~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indidevice.cpp:39:
/usr/include/libstellarsolver/parameters.h:101:16: warning: ‘QString SSolver::getCommandString(SSolver::ProcessType, SSolver::ExtractorType, SSolver::SolverType)’ defined but not used [-Wunused-function]
101 | static QString getCommandString(SSolver::ProcessType processType, SSolver::ExtractorType m_ExtractorType,
| ^~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:60:16: warning: ‘QString SSolver::getScaleUnitString(SSolver::ScaleUnits)’ defined but not used [-Wunused-function]
60 | static QString getScaleUnitString(SSolver::ScaleUnits scaleunit)
| ^~~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:18:16: warning: ‘QString SSolver::getShapeString(SSolver::Shape)’ defined but not used [-Wunused-function]
18 | static QString getShapeString(SSolver::Shape shape)
| ^~~~~~~~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/starprofileviewer.h:15,
from /home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/fitsview.h:19,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indiccd.h:16,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indilistener.cpp:17:
/home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/fitsdata.h: In member function ‘int FITSData::channels() const’:
/home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/fitsdata.h:162:33: error: ‘const struct FITSImage::Statistic’ has no member named ‘channels’
162 | return m_Statistics.channels;
| ^~~~~~~~
[ 34%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/indi/inditelescope.cpp.o
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indiproperty.cpp:17:
/usr/include/libstellarsolver/parameters.h:211:16: warning: ‘QString SSolver::getLogLevelString(SSolver::logging_level)’ defined but not used [-Wunused-function]
211 | static QString getLogLevelString(SSolver::logging_level logLevel)
| ^~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:170:16: warning: ‘QString SSolver::getMultiAlgoString(SSolver::MultiAlgo)’ defined but not used [-Wunused-function]
170 | static QString getMultiAlgoString(SSolver::MultiAlgo multi)
| ^~~~~~~~~~~~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indiproperty.cpp:17:
/usr/include/libstellarsolver/parameters.h:101:16: warning: ‘QString SSolver::getCommandString(SSolver::ProcessType, SSolver::ExtractorType, SSolver::SolverType)’ defined but not used [-Wunused-function]
101 | static QString getCommandString(SSolver::ProcessType processType, SSolver::ExtractorType m_ExtractorType,
| ^~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:60:16: warning: ‘QString SSolver::getScaleUnitString(SSolver::ScaleUnits)’ defined but not used [-Wunused-function]
60 | static QString getScaleUnitString(SSolver::ScaleUnits scaleunit)
| ^~~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:18:16: warning: ‘QString SSolver::getShapeString(SSolver::Shape)’ defined but not used [-Wunused-function]
18 | static QString getShapeString(SSolver::Shape shape)
| ^~~~~~~~~~~~~~
[ 35%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/indi/indiccd.cpp.o
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indistd.cpp:21:
/usr/include/libstellarsolver/parameters.h:211:16: warning: ‘QString SSolver::getLogLevelString(SSolver::logging_level)’ defined but not used [-Wunused-function]
211 | static QString getLogLevelString(SSolver::logging_level logLevel)
| ^~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:170:16: warning: ‘QString SSolver::getMultiAlgoString(SSolver::MultiAlgo)’ defined but not used [-Wunused-function]
170 | static QString getMultiAlgoString(SSolver::MultiAlgo multi)
| ^~~~~~~~~~~~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indistd.cpp:21:
/usr/include/libstellarsolver/parameters.h:101:16: warning: ‘QString SSolver::getCommandString(SSolver::ProcessType, SSolver::ExtractorType, SSolver::SolverType)’ defined but not used [-Wunused-function]
101 | static QString getCommandString(SSolver::ProcessType processType, SSolver::ExtractorType m_ExtractorType,
| ^~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:60:16: warning: ‘QString SSolver::getScaleUnitString(SSolver::ScaleUnits)’ defined but not used [-Wunused-function]
60 | static QString getScaleUnitString(SSolver::ScaleUnits scaleunit)
| ^~~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:18:16: warning: ‘QString SSolver::getShapeString(SSolver::Shape)’ defined but not used [-Wunused-function]
18 | static QString getShapeString(SSolver::Shape shape)
| ^~~~~~~~~~~~~~
[ 35%] Building CXX object kstars/CMakeFiles/KStarsLib.dir/indi/wsmedia.cpp.o
make[3]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:785: kstars/CMakeFiles/KStarsLib.dir/KStarsLib_autogen/mocs_compilation.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indilistener.cpp:25:
/usr/include/libstellarsolver/parameters.h: At global scope:
/usr/include/libstellarsolver/parameters.h:211:16: warning: ‘QString SSolver::getLogLevelString(SSolver::logging_level)’ defined but not used [-Wunused-function]
211 | static QString getLogLevelString(SSolver::logging_level logLevel)
| ^~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:170:16: warning: ‘QString SSolver::getMultiAlgoString(SSolver::MultiAlgo)’ defined but not used [-Wunused-function]
170 | static QString getMultiAlgoString(SSolver::MultiAlgo multi)
| ^~~~~~~~~~~~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indilistener.cpp:25:
/usr/include/libstellarsolver/parameters.h:101:16: warning: ‘QString SSolver::getCommandString(SSolver::ProcessType, SSolver::ExtractorType, SSolver::SolverType)’ defined but not used [-Wunused-function]
101 | static QString getCommandString(SSolver::ProcessType processType, SSolver::ExtractorType m_ExtractorType,
| ^~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:60:16: warning: ‘QString SSolver::getScaleUnitString(SSolver::ScaleUnits)’ defined but not used [-Wunused-function]
60 | static QString getScaleUnitString(SSolver::ScaleUnits scaleunit)
| ^~~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:18:16: warning: ‘QString SSolver::getShapeString(SSolver::Shape)’ defined but not used [-Wunused-function]
18 | static QString getShapeString(SSolver::Shape shape)
| ^~~~~~~~~~~~~~
make[3]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:954: kstars/CMakeFiles/KStarsLib.dir/indi/indilistener.cpp.o] Error 1
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/starprofileviewer.h:15,
from /home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/fitsview.h:19,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indiccd.h:16,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indiccd.cpp:10:
/home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/fitsdata.h: In member function ‘int FITSData::channels() const’:
/home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/fitsdata.h:162:33: error: ‘const struct FITSImage::Statistic’ has no member named ‘channels’
162 | return m_Statistics.channels;
| ^~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/inditelescope.cpp:17:
/usr/include/libstellarsolver/parameters.h:211:16: warning: ‘QString SSolver::getLogLevelString(SSolver::logging_level)’ defined but not used [-Wunused-function]
211 | static QString getLogLevelString(SSolver::logging_level logLevel)
| ^~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:170:16: warning: ‘QString SSolver::getMultiAlgoString(SSolver::MultiAlgo)’ defined but not used [-Wunused-function]
170 | static QString getMultiAlgoString(SSolver::MultiAlgo multi)
| ^~~~~~~~~~~~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/inditelescope.cpp:17:
/usr/include/libstellarsolver/parameters.h:101:16: warning: ‘QString SSolver::getCommandString(SSolver::ProcessType, SSolver::ExtractorType, SSolver::SolverType)’ defined but not used [-Wunused-function]
101 | static QString getCommandString(SSolver::ProcessType processType, SSolver::ExtractorType m_ExtractorType,
| ^~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:60:16: warning: ‘QString SSolver::getScaleUnitString(SSolver::ScaleUnits)’ defined but not used [-Wunused-function]
60 | static QString getScaleUnitString(SSolver::ScaleUnits scaleunit)
| ^~~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:18:16: warning: ‘QString SSolver::getShapeString(SSolver::Shape)’ defined but not used [-Wunused-function]
18 | static QString getShapeString(SSolver::Shape shape)
| ^~~~~~~~~~~~~~
/home/ubuntu/Projects/kstars/kstars/kstars/indi/indiccd.cpp: At global scope:
/home/ubuntu/Projects/kstars/kstars/kstars/indi/indiccd.cpp:106:6: warning: ‘bool {anonymous}::writeTempImageFile(const QString&, char*, size_t, QString*)’ defined but not used [-Wunused-function]
106 | bool writeTempImageFile(const QString &format, char * buffer, size_t size, QString *filename)
| ^~~~~~~~~~~~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indiccd.cpp:22:
/usr/include/libstellarsolver/parameters.h:211:16: warning: ‘QString SSolver::getLogLevelString(SSolver::logging_level)’ defined but not used [-Wunused-function]
211 | static QString getLogLevelString(SSolver::logging_level logLevel)
| ^~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:170:16: warning: ‘QString SSolver::getMultiAlgoString(SSolver::MultiAlgo)’ defined but not used [-Wunused-function]
170 | static QString getMultiAlgoString(SSolver::MultiAlgo multi)
| ^~~~~~~~~~~~~~~~~~
In file included from /home/ubuntu/Projects/kstars/kstars/kstars/auxiliary/ksutils.h:36,
from /home/ubuntu/Projects/kstars/build/kstars/Options.h:12,
from /home/ubuntu/Projects/kstars/kstars/kstars/indi/indiccd.cpp:22:
/usr/include/libstellarsolver/parameters.h:101:16: warning: ‘QString SSolver::getCommandString(SSolver::ProcessType, SSolver::ExtractorType, SSolver::SolverType)’ defined but not used [-Wunused-function]
101 | static QString getCommandString(SSolver::ProcessType processType, SSolver::ExtractorType m_ExtractorType,
| ^~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:60:16: warning: ‘QString SSolver::getScaleUnitString(SSolver::ScaleUnits)’ defined but not used [-Wunused-function]
60 | static QString getScaleUnitString(SSolver::ScaleUnits scaleunit)
| ^~~~~~~~~~~~~~~~~~
/usr/include/libstellarsolver/parameters.h:18:16: warning: ‘QString SSolver::getShapeString(SSolver::Shape)’ defined but not used [-Wunused-function]
18 | static QString getShapeString(SSolver::Shape shape)
| ^~~~~~~~~~~~~~
make[3]: *** [kstars/CMakeFiles/KStarsLib.dir/build.make:980: kstars/CMakeFiles/KStarsLib.dir/indi/indiccd.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:1354: kstars/CMakeFiles/KStarsLib.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1332: kstars/CMakeFiles/kstars.dir/rule] Error 2
make: *** [Makefile:500: kstars] Error 2



This is with Stellar Solver installed fresh and with a pristine new git pull of kstars also as of this morning. I tried to compile it 3 times, it always hangs at the same place.
Should I just wait for the next Stellar Solver update or is there another way to fix this?

Jo
3 years 5 months ago #62135

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

Make sure stellarsolver is indeed installed properly as this was fixed yesterday.
3 years 5 months ago #62137

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

  • Posts: 1119
  • Thank you received: 182


If the Stellar Solver Tester works, it should be properly installed, right? See the build date on top.

3 years 5 months ago #62138
Attachments:

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

  • Posts: 1009
  • Thank you received: 133
The stellarsolver 'issues' are only warnings about unused stuff, the error is from the fits viewer:
/home/ubuntu/Projects/kstars/kstars/kstars/fitsviewer/fitsdata.h:162:33: error: ‘const struct FITSImage::Statistic’ has no member named ‘channels’

Not sure what's wrong though - compiled w/o errors here.

Can only test it with the simulator, and it has problems solving those, maybe because of the small field? Two of my load&slew objects (Cocoon, Helix) loaded&solved fast.

Somewhat nasty: If the solver fails on the captured frame, the 'load&slew' button stays disabled until I do another slew...
3 years 5 months ago #62139

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

  • Posts: 1119
  • Thank you received: 182

Odd. I deleted my kstars and build folder, then recompiled Stellar Solver (only compiled and installed a few hours ago) and reinstalled it again. Then recompiled kstars from source. Now it installed fine.

Looks like the Stellar Solver was out of date by a couple of hours and that's why the kstars build failed?

3 years 5 months ago #62141
Attachments:

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

  • Posts: 1119
  • Thank you received: 182


You can solve any fits image you have acquired in the past, using the simulator in the solver and the 'Load and Slew' option to see if it in fact slews to the correct position. Works fine at my end.
3 years 5 months ago #62143

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

  • Posts: 1009
  • Thank you received: 133
I'd rather think there was something left in your kstars/build folder. I always build out-of-tree in a new created folder to make sure cmake doesn't use old cached info...

As for slewing: Yes, it solves (fast!), then slews (to the correct target :) ), but then runs the simulator CCD, and tries to verify - which fails. Then the 'Load & Slew' button stays disabled. So I first have to click some other location in the star map, 'goto' there, and only then I can try another image for solving....
Gets tiring after a while :ohmy:
3 years 5 months ago #62144

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

  • Posts: 1119
  • Thank you received: 182

There was nothing left in my kstars/build folder when it failed, because I had deleted them before. Still, it threw the same error on three attempts to build kstars again. Only AFTER I reinstalled Stellar Solver would kstars compile again. Weird. I'll see what happens next time.

As for the loading and slewing: Works fine here and the simulator then correctly solves the target as well at my end:

3 years 5 months ago #62145
Attachments:

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

  • Posts: 2876
  • Thank you received: 809
So based on what I am hearing, different options might be working better for the "load and slew" type function vs the "capture and solve" function?

Maybe it would be good to have two different sets of combo boxes in the Align options, a set of selections on which ones to use for "load and slew" vs a set of selections to use for "capture and solve"?

I ran some tests on some Images Jasem sent me that were taken with "capture and solve" and I found that they solved better on the default profile, however, for blind solves and load and slew, the Small Scale solving profile worked better.
3 years 5 months ago #62147

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

  • Posts: 152
  • Thank you received: 20
Possibly a factor is the load and slew images might be longer exposures compared to relatively short captures for alignment?
3 years 5 months ago #62148

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

  • Posts: 2876
  • Thank you received: 809
Yes, I was thinking that, and the fact that the "load and slew" images could be JPEGs, PNGs, GIFs, and other images that don't have scale or position. They could also come from different equipment. The capture and solve should have the same info most of the time.
3 years 5 months ago #62149

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

Time to create page: 0.782 seconds