How do I get insight into/data from the dynamics integration steps? #929
Unanswered
MichaelBonnet
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm working on scenario where I use some external Basilisk modules as FSW to try and detumble a spacecraft with three magnetorquers and a magnetometer. This is on tag v2.5.0. See the script below:
It produces plots like so:

As you can see, the commanded dipoles and torques are produced, and the commanded dipole is passed into dipoleMapping then on into the MtbEffector. MtbEffector reports large net torques that vary as espected with the commanded dipoles/torques. However, the spacecraft body angular rates never change - or rather, their trends are stable, as opposed to decreasing or even increasing.
I want to be able to better diagnose this problem, as I believe I have set everything up correctly. My steering matrix is the inverse of my torquer bar alignment matrix. Everything talks to each other, and were added to the simulation in well-defined priorities. I even tried reversing the priorities across the chain to see if that changed anything - nada. This leads me to suspect that the torques from MtbEffector are not finding their way into the dynamics integration step.
The issue is, a lot of the variables I'd interrogate to find data and help answer "what all is going into the dynamics integration" and hopefully "why are't these torques getting into dynamics integration" don't have associated messages I can log and then plot/analyze.
Thanks for any and all help.
Beta Was this translation helpful? Give feedback.
All reactions