Issues with get_zero_proper_mode_rotational_state in Tudat #8
Replies: 1 comment 4 replies
-
AnswerTudat Team: Hi Jorge, to answer your questions: |
Beta Was this translation helpful? Give feedback.
-
AnswerTudat Team: Hi Jorge, to answer your questions: |
Beta Was this translation helpful? Give feedback.
-
Question
User: Hello everyone 😃
I am using the
get_zero_proper_mode_rotational_state
function, which does not have documentation, and I am having a couple of issues with it.For some reason it cannot process the initial state from the propagator and then everything goes downhill from there. I am guessing that is where the difference between the two PropagatorSettings make everything fail(?) But not sure.
On the other hand, the function seems to complain that the integrator settings are defined both independently and in the propagator settings. It is true that the function asks for both objects, which seems redundant because the PropagatorSettings object requires the integrator settings to be created. That's Tudat's workflow, so it seems strange that the function complains about it.
And finally, a very strange thing about these errors is that they do not appear everytime at the same place. When I open PyCharm and run the script for the first time, they appear after the function reports entering the first iteration. If I let it finish and run it again immediately after, they appear before anything else is executed. It looks like a patter that might mean something to someone knowledgable, but sadly not to me.
2. The Python wrapper is having troubles converting its output to a Python object. The error message is however not what I was expecting, as all outputs in the signature reported by Python seem fine to me. This is the error I get:
I also got a similar error with another function, and there is an issue on the tudat-team/tudat-space Github repo with both problems. But without fixing this I can't really move forward, so it's a tiny bit urgent. I am going to try fixing the problem myself on my machine with local builds of Tudat, but if in the meantime someone knowledgable could take a look at it or give me a hand, that'd be amazing.
Lastly, I leave here the link to my Github repo where you can find the code to replicate the errors I mention. The file in question is model_A2.py and just running it should do the trick.
Link to repo: https://github.com/YorchMcM/MSc_Thesis_Phobos
So yeah. Sorry for the whole Shakespeare that I just wrote. I hope someone knows what's going on.
Thaanks / Cheeers 😉
Beta Was this translation helpful? Give feedback.
All reactions