Quantcast
Channel: Recent Topics - INDI Forum
Viewing all articles
Browse latest Browse all 14088

PyIndi - How to perform an async slew - by: dolguldur

$
0
0
Dear all,

Since a few month now, I am slowly, developping a virtual observatory with Py-Indi and other python opensource software, and I am really enjoying this. Especially the "mock" features of indi, ie, ccd/telescope/filterwheel, .. simulator, that allows me to do a lot of tests.

I am trying to setup the mount control class using following guidelines:
indilib.org/develop/developer-manual/101...s.html#h3-telescopes

My "workflow" for slewing to a target is the following:
setSwitch('ON_COORD_SET', 'TRACK') #to set the behaviour after slewing to target to track with sidereal speed. Synchronous call
Then
self.setNumber('EQUATORIAL_EOD_COORD', {'RA': coord.ra.hour, 'DEC': coord.dec.degree}) # in JNow format, synchronous call, but returns before mount really points to those coordinates
Then I wait (synchronous call) for the TARGET_EOD_COORD, as specified in the guidelines: Slew Target. Read Only property set once requested EQUATORIAL_EOD_COORD is accepted by driver.
self.getNumber('TARGET_EOD_COORD')

However, the returned TARGET_EOD_COORD is usually different from the EQUATORIAL_EOD_COORD I try to set (tested with telescope simulator).

Can someone give me some hint about why I experience this behaviour (is it the expected one) and if so, how should I proceed to get the exact time at which the telescope points to the desired coordinates ?

Thank you very much for your help, and thank you also for providing the python bindings, it really makes indi a powerfull tool.

Regards

Viewing all articles
Browse latest Browse all 14088

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>