scenarioRotatingPanel
Overview
This scenario demonstrates how to set up a spacecraft spacecraft with rotating panel. A Module: coarseSunSensor is then attached onto this panel such that it’s bore-sight axis rotates with the panel. Further, the panel state message is connected to Module: simpleSolarPanel.
The script is found in the folder basilisk/examples
and executed by using:
python3 scenarioRotatingPanel.py
The spacecraft body frame
The hinge frame origin
The coarse sun sensor of CSS devices are added to this solar panel as well. The script connects the panel inertial
state message to each CSS module create such that their sensor signals vary with the panel orientation. Each
CSS unit has a boresight to edge field of view of 45 degrees, and the maximum signal output is set to 1. The CSS
boresight orientation unit 1 is set to
Illustration of Simulation Results
The script will generate 3 plots. The first plot show the spacecraft orientation which is holding steady
pointing
The second plot compares the solar panel rotation angle
The final plot compares the solar panel angle with respect to the two CSS signals. The angular regions where we expect the CSS units to get a signal are shaded with a color that matches the CSS data plot. Again good agreement is found with the predicted times when the rotating panel will yield CSS signals and when not.