×

INDI Library v1.9.3 Released (11 Nov 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones. Some highlights:

Wrong address called when using online solve

  • Posts: 73
  • Thank you received: 5
I finally had the time to test on the RPi. I found a way to make it work, using ASTAP, but it hasn't been easy for a couple of reasons.

First, let's address the Use Scale and Use Positions switches: they don't work. The scale and position gets passed on to the solver, no matter what these switches are set to. At least, using ASTAP. The only way to really get a blind solve is to strip those info from the fit file itself.

Now, having done exactly that, I tested and confirmed that ASTAP can blind solve, and it's quite fast too. The most problematic image took 40 seconds on the RPi, which I think is fantastic. But another problem bugged me for a while. It seemed like Ekos liked to pass the "-r 15" parameter to ASTAP no matter if I changed the max radius search option. This was because I was changing another profile, not the one I was actually using. I think that part of the Ekos config could use some work, it's easy to get lost.

But finally I have a solution that can work on the RPi for blind solving images.

I'm still going to try and put up a nova like server, with the help of rlancaste I hope to be able to succeed. I also hope this thread is going to help somebody with problematic images in the future.

BTW: is there any specific reason the default search radius is so small? Upping it to 180 doesn't slow down anything if coordinates are close enough, just a thought.
3 months 1 week ago #74597

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

  • Posts: 2547
  • Thank you received: 676
Sorry that I couldn't log in here before, something was wrong with my password, but I have now fixed it.  Hopefully I have provided helpful feedback in the GitHub site.  I think I have fixed the first problem, the hard coding of the nova site should now be fixed.  If you are using a package manager to install stellarsolver or if you are using Windows with embedded stellarsolver, there will be a delay to update it.

I think there were a couple of questions here I didn't address on the other site, so I will try to answer them now.  

I am not sure what you mean by the internal solver can't blind solve, because that is one of the main things I worked really hard on last year during the pandemic, and one of the best features of StellarSolver is now that it can blind solves an image in less than a minute, often just a few seconds (depending on the image and computer of course).  It manages this by doing several things that really can speed up solving such as parallel threads on multiple cores.  Yes it can use a decent amount of energy and processing power, which is why you should only do a blind solve if it doesn't solve any other way.  Even the raspberry pi can do it, but it isn't as fast as other computers.

I agree that under 1 second true blind solve on a Pi as you stated is not likely at this time.  I typically use my laptop for solving images and controlling the session, where the PI is used for acquisition.  My main computer solves images with scale and position information in about 0.3 seconds or so, the pi might take a few seconds (unless it is a pi 4).  For blind solves it really really depends on the image.  Here is an example of StellarSolver solving an image in less than 2 seconds on my main laptop.   This is mostly a blind solve since the file is a JPEG, it has no idea about anything about the image.  The only information it has is that it should use the parameters in the "ParallelSolving Small Scale" options profile.  This profile does limit the scale to telescope sizes which makes it a bit faster, but if you don't limit the scale, it doesn't increase the time that much.  Other images will have different solving times since blind solving is blind, but typically it is less than a minute.  For a PI, the time estimates would be larger of course.

  

To answer the question of why 15 degrees, most users are using the internal solver or astrometry.net in some form and limiting the search 15 degrees does make a difference in those methods.  15 is typically the recommended parameter value.  If your telescope is off by more than 15 degrees, there is a problem and you should be doing a blind solve and maybe check your equipment.

Did this answer all the questions?

Thanks,

Rob
 
3 months 1 week ago #74681
Attachments:

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

  • Posts: 73
  • Thank you received: 5
Hi Rob,
thanks for the detailed answer. I'll try to reply to some of your remarks:
I wrote that incorrectly. The correct way of putting it is, there's no way for me to force Ekos to do a blind solve easily. All of this started because I had an unsolveable image on my hands, which later turned out to contain wrong coordinates. I wanted to blind solve it, so to discard the FITS info. It isn't currently possible to do so. Load and solve will use the info and there's no way to make it ignore them safe from deleting the info from the actual image. Not sure if the option to blind solve would be useful in many cases, though. But this is what I meant. And as you can see from this answer Jaseem gave me indilib.org/forum/ekos/10035-non-solveable-image.html#73667, the Use Scale and Use Position not being read while Load and Slew is used has fooled him too...
And this is why I want a server to run for these kind of requests.
I understand your remark, but the radius limitation, as far as I can see, goes into the profile which is used always, including load and slew. Now, if I tri to blind solve, wouldn't a limit on the radius limit the blind solve as well? Or is it ignored in case of an image without info, say a JPG?
Also, in what way is it better to limit the search radius? To get back to my problematic image, setting the search radius to 180 solved it, even if it had those wrong coordinates. Leaving it at 180, all my other images solved quickly anyway, so I'm failing to see the downside of upping it to 180 or so.

Thanks again, also for the github thread!

EDIT: the quoted parts are not being shown, not sure why. But I think this is comprehensible anyway...
Last edit: 3 months 1 week ago by Fabio Papa.
3 months 1 week ago #74691

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

I've updated align module so that position and scale options are also respected in case of align and slew. But this change is not yet merged back to KStars as I am working on align module refactoring.
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 months 1 week ago #74693

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

  • Posts: 2547
  • Thank you received: 676
Fabio Papa,  that makes a lot more sense.  I didn’t understand why you would be saying that blind solves were impossible when I know that they are and that was a major focus of my work last year.  You meant blind solves were not possible in Ekos’s load and slew function.  I do think this needs to be fixed in Ekos and Jasem said he will change that.

The Radius is only used when the position is given, so it doesn’t affect a blind solve.  That’s why it is in the profile, since it is not something you want to change regularly.  Basically you want it to use a radius if the position is close to accurate but if it is not known or if it is wrong, you probably don’t want to use position at all.  I would say if it is off by more than 15 degrees something is very wrong and a blind solve is needed.  Using a radius of 180 might work, but it has an equal chance of not working too.  Also I am not sure that a radius of 180 is much better than a blind solve.  15 is the default and has worked every time for me that I didn’t need a blind solve, if you prefer 180, you can change the profile on your machine.  It wasn’t my decision to use 15 degrees, that is the recommended number from the folks who made astrometry.net.

Another thing we have been discussing is that Ekos might want a fallback method for using a blind solve after an informed solve fails.  I think that would save a lot of people frustration and also having to turn off scale and position just to do a blind solve and then turn them back on later.

 
3 months 1 week ago #74708

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

I submitted an MR for the fallback mechanism among other changes here: invent.kde.org/education/kstars/-/merge_requests/396
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 months 1 week ago #74776

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

Time to create page: 0.684 seconds