panablind.blogg.se

Stellarium web server
Stellarium web server












stellarium web server

In all cases, you can begin by copying some of the existing files for the other models and making the necessary changes. You need also to add the new telescope model to TelescopeClient ::create( ) and to the device_models.json file. See TelescopeClient DirectLX200 and TelescopeClient DirectNexStar. In the Telescope Control plug-in: a sublass of TelescopeClient. In a stand-alone server: a subclass of Server (e.g. See Lx200Connection and NexStarConnection. A subclass of the Serial port class that handles the connection to the telescope. See Lx200Command and its subclasses and NexStarCommand and its subclasses. Typically, this is implemented as an abstract base class with subclasses for the specific commands. Classes that stand for the commands given to the telescope. You can try to write an old-style stand-alone server first, or you can skip this part and add the telescope specific classes directly to the plug-in.

stellarium web server

TelescopeTCP: :telescopeGoto( ) uses that protocol to send commands over TCP/IP to a server, but TelescopeClient DirectLx200: :telescopeGoto( ) simply calls the necessary function from the Lx200Connection class - as the server/driver code is a part of the plug-in itself, there is no need for network communication.

stellarium web server

That comment in TelescopeClient DirectLx200 is a leftover - the code has been copied from TelescopeTCP. txt?revision= 1562&view= markupīut it specifies the protocol used by Stellarium to communicate over TCP/IP with a stand-alone server application that controls the telescope itself. net/viewvc/ stellarium/ trunk/telescope _server/ stellarium_ telescope_ protocol. The document you are interested in is this one: (You'll need to use Qt Creator for that one.) net/viewvc/ stellarium/ trunk/telescope _server_ gui/ There's also a somewhat newer (and unfinished) re-write with a GUI: net/viewvc/ stellarium/ trunk/telescope _server/Ī lot of it has been reused in the current Telescope Control plug-in. The code of the old style, stand-alone telescope control servers is still in the Subversion repository at SourceForge:














Stellarium web server