Skip to content

Feature vector logging #7

Merged
JmcRobbie merged 9 commits into
developfrom
feature-vector_logging
Sep 24, 2018
Merged

Feature vector logging #7
JmcRobbie merged 9 commits into
developfrom
feature-vector_logging

Conversation

@JmcRobbie
Copy link
Copy Markdown

Adds various vectors to logging so that they can be modeled in VTS

@JmcRobbie JmcRobbie requested a review from rskew September 24, 2018 08:03
Copy link
Copy Markdown
Collaborator

@rskew rskew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve pending getting it working with VTS

/** TODO - rewrite this section to be more elegant and correct*/

Vector3D ang_accel = satellite.getStates().getCurrentState().getAttitude().getRotationAcceleration();
double torqueX = ang_accel.getX()/satellite.getAssembly().getBody().getInertiaMatrix()[0][0];
Copy link
Copy Markdown
Collaborator

@rskew rskew Sep 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only works for diagonal inertia matrices. Maybe worth a specific comment.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll add that then hit merge :)

@JmcRobbie JmcRobbie merged commit 89509a1 into develop Sep 24, 2018
@JmcRobbie JmcRobbie deleted the feature-vector_logging branch September 24, 2018 10:18
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

Successfully merging this pull request may close these issues.

2 participants