Stellarium / stellarium

Stellarium is a free GPL software which renders realistic skies in real time with OpenGL. It is available for Linux/Unix, Windows and macOS. With Stellarium, you really see what you can see with your eyes, binoculars or a small telescope.
https://stellarium.org
GNU General Public License v2.0
7.73k stars 820 forks source link

Telescope control moves by itself (only in app, not on mount) #3841

Closed BreaK-X0 closed 1 month ago

BreaK-X0 commented 3 months ago

Hello, I connect my mount through ASCOM and with its respective driver (syncscan app) and everything is fine, I can control the mount perfectly with stellarium, but after a few minutes, or sometimes just seconds, the program slows down enormously and the indicator of where the telescope is pointing starts to move (only virtually, never physically) and gets lost on the horizon. I have reinstalled drivers, stellarium, ASCOM and tried everything.

A solution would be very useful.

Thank you very much for creating this wonderful tool!

Expected Behaviour

Actual Behaviour

Describe or maybe attach a screenshot?

Steps to reproduce

System

Logfile

If possible, attach the logfile log.txt from your user data directory. Look into the Guide for its location.

gzotti commented 3 months ago

There are several reported but unidentified issues with TelescopeControl on Qt6-based builds, and no voluntary developers to solve them. Does that also happen with a Qt5-based build?

BreaK-X0 commented 3 months ago

I couldn't tell you, my level is not that high, I'm sorry... :(

It is as if stellarium disconnected from the mount, however I still have control with SynScan Pro in Windows

I just verified that stellarium drops from 20-30 FPS to 0.5 FPS!!

If I restart stellarium and SynScan everything works again for a few seconds or minutes

gzotti commented 3 months ago

Can you download, install and run the version from stellarium.org that is announced "Windows 7+"? This is the Qt5-based build. If this works, it is yet another manifestation of TelescopeControl issues with the Qt6-based version.

BreaK-X0 commented 3 months ago

I finally found the problem! It seems that the IPs conflict or something. When working with the wifi module and assigning it an IP (maybe because 192.168.4.1 for the mount and 192.168.1.1 for the router are out of range). When I disconnect the LAN cable from the laptop and remain disconnected from the internet, it works perfectly.

It's a pain, but at least I won't have distractions (internet).

I hope this at least helps to improve or maybe someone knows a solution to the problem.

*I add that it only gives a problem when opening Stellarium and controlling the mount. Because if it is only controlled with the Synscan app in Windows I can be connected to the Internet perfectly, so I deduce that it must be some problem with the link between Stellarium and ASCOM.

Thanks a lot gzotti for your help!

gzotti commented 3 months ago

No, that is not related. 192.168.4.1 and .1.1 don't generally see each other. If the mount is 192.168.4.1, your PC would have to be another device in the 192.168.4. range. Or if you need to be in 192.168.1. to connect to the Internet, your telescope would need to be configured to use a different address in the 192.168.1.* range.

BreaK-X0 commented 2 months ago

It turns out that the module has a "station mode" which you can activate so that it connects directly to the router and now yes! It enters the 192.168.1.X and I can observe and browse at the same time!

I hope that with all this we can help more people and avoid headaches.

gzotti commented 1 month ago

@BreaK-X0 your problem seems solved. Can we close this?

BreaK-X0 commented 1 month ago

Gracias!