The software could shortly be described as telescope tracking program. One complication is that the platform moves freely across the earth, requiring GPS to make correct pointing calculations. The system uses a sun-sensor as reference
The software calculates positions and speeds of astronomical objects. Pos(t)=pos(t0)+v_obj(t-t0). Assuming that the GPS is constant during a few seconds, the speed could be calculated by making two, positional calculations with a time difference dt. By sending speed values to the Gondola rather than only positions the bandwidth could be reduced substantially.
The values are converted into counts (MSB and LSB) for positions and division factors (divf) for the speeds. The input portion of the program is supplied by the information down-linked from the gondola (GPS ,Inclination of gondola -x,y and several status checks) and by the pilot changing objects. The guider- camera looks towards a defined guide star near the object of interest .The OUTPUT (count values) are up-linked to the Gondola.
VISUAL C++ 1.0 Microsoft PIROG 7 FIRST PILOT WINDOW