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
| Name | Description |
|---|---|
| sunDirection_B | Sun direction vector in body frame (toward the sun). |
| panelNormal_B | Panel normal vector in body frame (outward from panel surface). |