So yes it is programable.
Just need to figure the target.
void SKYLAB::RGAC(double simdt) //Radiator Goal Angle Calculation
{
double sunangle = 0;
double tgtangle1 = 0;
double tgtangle2 = 0;
bool angle1ok = false;
bool angle2ok = false;
double angle1delta = 0;
double angle2delta = 0;
VECTOR3 rsun;
VECTOR3 rsuninv;
VECTOR3 rsunloc;
GetGlobalPos(rsun);
rsuninv = _V(-rsun.x, -rsun.y, -rsun.z);
Global2Local(rsuninv, rsunloc);
sunangle = atan2(-rsunloc.x, rsunloc.y); // current angle of sun on XY plane relative to Y axis
sunangle = sunangle - PI05 - PI;
sprintf(oapiDebugString(), "%lf %lf %lf", rsunloc.x, rsunloc.y, rsunloc.z);
}
So is rsunloc the target?
But if I open Pursuit I get the values. Not sure about the -pitch as the CMG is 0-360
and I think Skylab needs to be aimed on the Y axis, right? So that the ATM is facing the sun?