Comments (3)
Clock does not tick in INDI clients either so it is feature not a bug ;-) (it used to tick in the past but this was removed from INDI some time ago). Regarding sync function - can you reproduce it with a command line indi_getprop / indi_setprop?
from pyindi-client.
Hi, Yes I just discovered that!! In fact setTime() works perfectly, getTime() does not (for the reason you explain). I suspect it DOES work if you reconnect, so if you really, really want the time, you can disconnect and reconnect() followed by getTime() :).
I love how all just works, even though I made some quite large changes to it. I'll investigate the sync function further and post here.
I'll compare the sync equivalent with Ekos and see how it goes.
Thanks for the fast response.
Steve.
from pyindi-client.
OK, next step. Apparently Kstars/Ekos Sync (ie 'set' RA&DEC) doesn't work either. It didn't transfer through to the handset until I had 'tracking on'. I also had to set up a simulated CCD to get rid of an Ekos error, but I don't think that was related to the Sync functioning.
When I moved back to set Sync in my own code, it still didn't work. My code is above. Is the sequence of commands important:
self.indi.indiclient.sendNewSwitch(pcs)
self.indi.indiclient.sendNewNumber(p)
?
If I were Indi, I'd sort of want the new coordinates first before I got 'permission to proceed' Ie 'Sync on', or maybe it makes no difference.
I also think that all the stuff around int(base 16)/2**16 is designed to produce a decimal hour (RA) from 0-24 or a decimal degree (DEC) from -90 to + 90 (I rarely drop below 20 because the surrounding trees are so high). So I just pass a decimal number to sendNewNumber(p). Is it any more complex than that?
I'll keep playing.
Although I really like INDI, the only reason for implementing it was to Sync remotely and share my mount with PHD2, so I gain nothing. :(
from pyindi-client.
Related Issues (14)
- Problem installing pyindi-client HOT 4
- Build issue on raspberry pi os with version 0.2.7 HOT 4
- INumberPropertyview Indexing
- AttributeError: 'BaseClient' object has no attribute 'removeDevice' HOT 1
- TypeError: 'PropertyViewNumber' object is not iterable HOT 2
- Pyindi client
- swig/python memory leak of type 'INDI::BaseDevice::Properties *', no destructor found HOT 2
- TypeError: 'INumberPropertyview' object is not subscriptable HOT 4
- error installing pyindi-client on ubuntu 20.04 server HOT 3
- Python3 installation, RecursionError HOT 8
- import PyIndi results in segmentation fault (core dumped) HOT 3
- SWIG breaks over weird macro HOT 1
- Error running indi client HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyindi-client.