×
INDI Library v1.8.1 Released (09 Sep 2019)

Monthly maintenance release INDI v1.8.1

Working on PHD2 support

1 year 9 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 1897
Karma: 19
More
Topic Author
Working on PHD2 support #21578
I did a whole bunch of PHD2 stuff today which is currently undergoing testing and should make it into KStars soon. i got the RMS error calculated correctly and the error properly scaled because I implemented a function to get the PHD pixel scale. I also further improved the image work I did before to make it more reliable. I did a bunch of other things under the hood that will make it easier to add more stuff later.

Here is a preview of things to come shortly!

Attachments:
The following user(s) said Thank You knro, Casaro68, jpaana, pentaxian23, maudy

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

1 year 9 months ago
pentaxian23
Platinum Boarder
Platinum Boarder
Posts: 422
Karma: 3
More
Working on PHD2 support #21581

rlancaste wrote: So the work that I did this last weekend should help some with the bandwidth issues. Basically I set it up so that it gets a very small image from PHD2 of just the star it is currently guiding on, so the whole image download is not necessary. More important the image download to the client is not important for the actual guiding, it is just a request and if it doesn't transfer, it doesn't actually affect guiding. PHD2 is handling all the guiding and so whether or not the image gets updated in Ekos is not relevant to the actual guiding. Another point is that if you want, you can use a camera on PHD2 that is not connected to INDI if you like and PHD2 will still send the guiding information for the graphs and the star image back to Ekos for display. I found in my experimenting that using a non-INDI camera and/or a camera not connected to Ekos actually allows for faster guiding since it doesn't have to transfer the file back to the client at all.


In Ekos, after using it for polar alignment, I disconnect the guiding camera and have PHD2 connect to it only. This should prevent any traffic from it over the remote connection.

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

1 year 9 months ago
pentaxian23
Platinum Boarder
Platinum Boarder
Posts: 422
Karma: 3
More
Working on PHD2 support #21582

rlancaste wrote: I did a whole bunch of PHD2 stuff today which is currently undergoing testing and should make it into KStars soon. i got the RMS error calculated correctly and the error properly scaled because I implemented a function to get the PHD pixel scale. I also further improved the image work I did before to make it more reliable. I did a bunch of other things under the hood that will make it easier to add more stuff later.

Here is a preview of things to come shortly!



Thanks @rlancaste! This is great to have PHD2 well integrated with Ekos!

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

1 year 9 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 1897
Karma: 19
More
Topic Author
Working on PHD2 support #21585

gbeaton wrote:

rlancaste wrote: So the work that I did this last weekend should help some with the bandwidth issues. Basically I set it up so that it gets a very small image from PHD2 of just the star it is currently guiding on, so the whole image download is not necessary. More important the image download to the client is not important for the actual guiding, it is just a request and if it doesn't transfer, it doesn't actually affect guiding. PHD2 is handling all the guiding and so whether or not the image gets updated in Ekos is not relevant to the actual guiding. Another point is that if you want, you can use a camera on PHD2 that is not connected to INDI if you like and PHD2 will still send the guiding information for the graphs and the star image back to Ekos for display. I found in my experimenting that using a non-INDI camera and/or a camera not connected to Ekos actually allows for faster guiding since it doesn't have to transfer the file back to the client at all.


In Ekos, after using it for polar alignment, I disconnect the guiding camera and have PHD2 connect to it only. This should prevent any traffic from it over the remote connection.


Yes, this is what I mean. That's how I did my tests I posted here. I either removed the guider from the profile in Ekos or I went one step forward and made it not served by INDI at all. The PHD2 star images, graphs, and guiding results I implemented in the last week will come through with or without the guide camera being connected.

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

1 year 9 months ago
TallFurryMan
Platinum Boarder
Platinum Boarder
Posts: 731
Karma: 13
More
Working on PHD2 support #21602
This is awesome. A few months ago, I started working on a PHD2 interface for the MGen Autoguider, that would provide correction and frame messages like a regular PHD2 installation would, from indiserver. While I interrupted that activity to cut wood for my backyard obs, I'll follow this up. I had found Ekos a bit difficult to talk with at the time :)

-Eric

HEQ5-Pro - Atik 314E - Orion ED80T - DMK21 on Orion 50mm
DIY 3D-printed Moonlite and FWheel RGB/LPR
KStars and indiserver on two Atom 1.6GHz 1GB RAM Linux, VPN remote access

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

1 year 9 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 1897
Karma: 19
More
Topic Author
Working on PHD2 support #21668
I just added a new feature to the guide module. The drift plot. By the way, even though this is running with PHD2, it works with the internal guider as well.

Attachments:
The following user(s) said Thank You knro, nmac, jpaana, pentaxian23, maudy, tkottary

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

1 year 9 months ago
maudy
Platinum Boarder
Platinum Boarder
Posts: 353
Karma: 2
More
Working on PHD2 support #21669
WOW! Thank you Rob.

If only my mount works tonight. It is back from warranty work, and well... twice last night it went off into la-la-land. Hopefully tonight it will work and I can get to use this.

Cheers!

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

1 year 9 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 1897
Karma: 19
More
Topic Author
Working on PHD2 support #21671
Note the change is not pushed to GIT yet, but it should be within a short time. Do you pull your KStars version from the GIT repository, do you get it from the PPA, or do you use a Mac or Windows DMG/Installer? It will take longer to get it to the PPA than GIT, and the Mac/Windows installers will probably not be updated for a day or two.

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

1 year 9 months ago
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 1897
Karma: 19
More
Topic Author
Working on PHD2 support #21677
The Mac dmg on the website is now the latest version. It includes the added phd2 support and the drift plot in guiding

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

1 year 8 months ago 1 year 8 months ago by rlancaste.
rlancaste
Platinum Boarder
Platinum Boarder
Posts: 1897
Karma: 19
More
Topic Author
Working on PHD2 support #22100
So after I have done quite a bit of work in the last couple of weeks, I think the enhanced phd2 support and improved guiding graphics are now finished. They are now on the latest git on GitHub, but the PPA, the Mac DMG, and the windows version will be a few more days away. If anybody who is building from source could test the changes I have been making to PHD2, I would appreciate it.

Thanks!
The following user(s) said Thank You Gonzothegreat, pcxz, jpaana, Ihoujin, xsnrg

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

1 year 8 months ago
pcxz
Gold Boarder
Gold Boarder
Posts: 175
More
Working on PHD2 support #22103
Thanks for your work, i search to compile only receive this error:
...
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/auxiliary/nonlineardoublespinbox.cpp: In constructor ‘NonLinearDoubleSpinBox::NonLinearDoubleSpinBox(QWidget*)’:
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/auxiliary/nonlineardoublespinbox.cpp:19:19: error: ‘QOverload’ was not declared in this scope
connect(this, QOverload<double>::of(&QDoubleSpinBox::valueChanged),[=](double d){ _idx = _values.indexOf(
^
/opt/Astronomia/indi_ekos_build/Projects/kstars/kstars/auxiliary/nonlineardoublespinbox.cpp:19:29: error: expected primary-expression before ‘double’
connect(this, QOverload<double>::of(&QDoubleSpinBox::valueChanged),[=](double d){ _idx = _values.indexOf(
^
kstars/CMakeFiles/KStarsLib.dir/build.make:5353: set di istruzioni per l'obiettivo "kstars/CMakeFiles/KStarsLib.dir/auxiliary/nonlineardoublespinbox.cpp.o" non riuscito
make[2]: *** [kstars/CMakeFiles/KStarsLib.dir/auxiliary/nonlineardoublespinbox.cpp.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
CMakeFiles/Makefile2:335: set di istruzioni per l'obiettivo "kstars/CMakeFiles/KStarsLib.dir/all" non riuscito
make[1]: *** [kstars/CMakeFiles/KStarsLib.dir/all] Errore 2
Makefile:138: set di istruzioni per l'obiettivo "all" non riuscito
...

----
Celestron C8 Fastar XLT U.S.A. (Carbon tube), seeker 9x50 (used as a guide scope), Wedge, Meade DSI (used as a guide cam), Canon EOS 500D Full mod, Canon EOS 1000D, RaspBerryPI3 with remote management through EKOS.

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

1 year 8 months ago
jpaana
Gold Boarder
Gold Boarder
Posts: 204
Karma: 5
More
Working on PHD2 support #22118
This seems to be a Qt version issue, on my x64 Ubuntu 17.10 with Qt 5.9.1 it compiles, but on Raspberry Pi Ubuntu 16.04 with Qt 5.5.1 I get this same error.

Remote observatory running Ubuntu 19.04 x64 with ScopeDome 2M, Skywatcher EQ8 and HEQ5, TS 8" RC, Atik 383L+, ASI178MC, ASI120MM-S, SX Lodestar X2, SX USB wheel with OAG, ZWO EAF, USB_Focus V3, Gemini SnapCap, USB_DewPoint, KomaHub
The following user(s) said Thank You pcxz

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

Time to create page: 1.430 seconds