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?
You seem to have CSS turned off.
Please don't fill out this field.
This code is old, please use Bazaar repo of Stellarium: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/view/head:/plugins/TelescopeControl/src/servers/Connection.cpp
Thanks for pointing me to the new code. There's no difference in the code that sends the position that makes me understand it better to be able to translate it to C#.
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.