Declared in SolarPanel

Declaration

void SetSunAngle(
    Vector3 sunDirection_B,
    Vector3 panelNormal_B
);

Description

Sets the sun angle calculation to use user-provided vectors instead of computing from messages. Call this method when you have your own calculation of the sun-to-panel angle.

Parameters

NameDescription
sunDirection_BSun direction vector in body frame (toward the sun).
panelNormal_BPanel normal vector in body frame (outward from panel surface).