Enrico Pallazzo replied to the topic 'Slew with PyIndi' in the forum. 6 years ago

Umm, there is something about the execution time. If I run this as a script it actually works. I was trying to execute in a Jupyter notebook.
Maybe there is a respawn mechanism that loads back the coordinates from the telescope and when I overwrite them with my target coordinates I have to apply the settings before the next refresh. Anyway, the script works. It can crash at the end because there isn't no disconnect from the server and probably the C++ doesn't invoke the destructor at the end having some memory leak. So if someone wants to use I suggest to add indiclient.disconnectServer() at the end.

Read More...