GithubHelp home page GithubHelp logo

Syscan issues. about pyindi-client HOT 3 CLOSED

geehalel avatar geehalel commented on September 25, 2024
Syscan issues.

from pyindi-client.

Comments (3)

rkaczorek avatar rkaczorek commented on September 25, 2024 1

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.

SteveBz avatar SteveBz commented on September 25, 2024

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.

SteveBz avatar SteveBz commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.