Stellarium Telescope Control - Source

Feedback
Anonymous
2011-03-08
2014-02-09
  • Anonymous - 2011-03-08

    Hi,

    i would write my own Telescope Controll Server and would use the socket
    connection to connect them to stellarium.
    i have study the sources of the example, but i don't get implement a socket
    interface. I don't unterstand the communication between stellarium and the
    server.

    there are insufficent comments in the sources to understand the needed
    protocol.
    i can code c/c++ in basic, but i'm not a guru, so i am dependent on good
    explanation to write a server in C#, Java, Ruby or whatever :)

    Who will start to talk? stellarium or the controll-server? which commands
    would be transmitted. are the messages in asci or binary encoding?

    i build a selfmade telescope with a friend. This should have microcontroller
    assisted movement and would use stellarium to sighting stars and other mesier
    objects ;D

     
  • Yamini

    Yamini - 2012-06-17

    I am doing something similar and am facing the same problem. If you have been
    able to figure it now, please help. Thanks.

     
  • Kerob_Labs

    Kerob_Labs - 2012-06-24

    You need to write a socket listener for the port you set on Stellarium. So
    Stellarium is client, your telescope server is the server. Once socket is
    open, select an object and press <Ctrl +="" 1=""> (if your connected telescope
    server is the first one) and you will receive a socket packet:

    LENGTH (2 bytes,integer): length of the message
    TYPE (2 bytes,integer): 0
    TIME (8 bytes,integer): current time on the client computer in microseconds
    since 1970.01.01 UT. Currently unused.
    RA (4 bytes,unsigned integer): right ascension of the telescope (J2000)
    a value of 0x100000000 = 0x0 means 24h=0h,
    a value of 0x80000000 means 12h
    DEC (4 bytes,signed integer): declination of the telescope (J2000)
    a value of -0x40000000 means -90degrees,
    a value of 0x0 means 0degrees,
    a value of 0x40000000 means 90degrees

    I wrote my socket listener in C# because is bloody easy! Ask Google for a C#
    socket listener example, you will find loads.

    What I was disappointed is that Stellarium sends RA/DEC, instead of HA (hour
    angle). So the telescope server needs to account coordinates, date and time
    J2000 and recalculate the hour angle, something that Stellarium already does.

    Is there a way I can set Stellarium to send me hour angle??

    Cheers!

     
  • Anonymous - 2014-01-20

    Is there a way I can set Stellarium to send me hour angle??

    Same Problem! ;)

    Cheers!

    Gianluca

     
  • Anonymous - 2014-01-24

    Here's a useful site where a guy essentially does what you want to do:
    http://yoestuveaqui.es/blog/telescope-control-with-stellarium-and-arduino/

     
  • Anonymous - 2014-02-08

    me podrian decir como se podria conectar y que software necesito mi telescopio north stars 788831 bushnell motorisado al estelarium

     


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks