Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Need help with C# Telescope Server

Feedback
Anonymous
2014-07-21
2014-07-22

  • Anonymous
    2014-07-21

    Hi all

    I was hoping that someone here could help me.
    I am writing a telescope server application in C# that will act as a proxy between ASCOM and Stellarium. I am a total newbie at C# (I know some C++) and I am struggling at send the scope's position to Stellarium.
    I found an example of how to do this in C++ here:
    https://svn.code.sf.net/p/stellarium/code/trunk/telescope_server/src/Connection.cpp (all at the bottom) but for the live of me cannot figure out how to convert that code to C#.
    I already have the telescope coords from ASCOM, connect to Stellarium and can issue GoTo's, but I just cant get the reticle to show up.
    Could anyone help me with sending the proper bytes to Stellarium so that the reticle shows up?

    Thanks
    Martin

     

  • Anonymous
    2014-07-22

    Well the shifting wasn't the problem, it was getting it into a byte array in the proper manner. But I have figured it out now, everything works :-)
    Thanks for the links and the help.

    Martin

     


Anonymous


Cancel   Add attachments