Hi,

I am currently implementing INDI functionality into my capture application. I have most of the functionality working but I am confused by the Right Ascension value that I am receiving from the Telescope Simulator. I am getting the RA and DEC values by using the following code:

INumber *raprop = IUFindNumber(m_prop_eq_coord, "RA");
INumber *decprop = IUFindNumber(m_prop_eq_coord, "DEC");
std::cout << "RA = raprop.value << " DEC = decprop.value << std::endl;

The code snippet above gives me the coordinates that the mount is currently pointing at in decimal. The Declination value is correct but the Right Ascension value appears to be way off. For example, I slew the Telescope Simulator to Messier 1 which has a RA value of +83.63308 but the value that comes from the code above is 5.50327 which is quite difference. I know the simulator is pointing at the correct part of the simulated sky because I have saved an image and plate solved it. I first noticed this problem when trying to convert the RA value to HH::MM:SS.

I'm clearly doing something wrong or misunderstanding something. Is there some special conversion that I need to do to the RA value coming from the code above?
Amanda

Read More...