Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Writing dependent variables to text file column order bug #119

Closed
eroorda opened this issue Feb 3, 2017 · 1 comment
Closed

Writing dependent variables to text file column order bug #119

eroorda opened this issue Feb 3, 2017 · 1 comment

Comments

@eroorda
Copy link

eroorda commented Feb 3, 2017

When I print the aerodynamic moment coefficients and control surface deflection as dependent variables (in that order), in the actual output text file (computed by writeDataMapToTextFile) their column orders are reversed.

Thus the application output window says ;

Dependent variables being saved, output vectors contain:
Vector entry, Vector contents
0, Mach number of Aurora
1, Altitude of Aurora w.r.t. Earth
2, Aerodynamic moment coefficients of Aurora
3, Control Surface Deflectionof Aurora w.r.t. WingFlap

Whereas in the text file it actually is;

Dependent variables being saved, output vectors contain:
Vector entry, Vector contents
0, Mach number of Aurora
1, Altitude of Aurora w.r.t. Earth
2, Control Surface Deflectionof Aurora w.r.t. WingFlap
3, Aerodynamic moment coefficients of Aurora

DominicDirkx added a commit to DominicDirkx/tudat that referenced this issue Feb 3, 2017
@DominicDirkx
Copy link
Member

Thanks for opening this issue, I've uploaded a modification to the Github branch. For now, I would recommend not updating the branch directly, we're making a few modifications that may break your code if you do (nothing major, main change is that basic_mathematics::Vector6d will become Eigen::Vector6d). If you have a look at the changes of this commit:

DominicDirkx@5c7a291

you'll see that only propagationOutput.h is modified. Copy and paste these changes to this file on your machine, and the terminal output should match the file contents.

DominicDirkx added a commit to DominicDirkx/tudat that referenced this issue Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants