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

Fixed bug ECI2LVLH function and changed inertial frame to ECI from LVLH #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aryammanb
Copy link
Contributor

The rotation matrix in the ECItoLVLH matlab function block was the transpose of what it should have been- rectified this.

Euler's equations output omega projected onto the axes of the body frame, but this omega is measured with respect to an inertial frame. Earlier this inertial frame was assumed to be the LVLH frame- changed this to assume it with respect to the ECI frame. And used the rotm2quat function to enable frame conversion of 'quaternion representing rotation from eci to body' to 'quaternion representing rotation from lvlh to body' by using 'quaternion representing rotation from lvlh to eci' and the properties of quaternions.

Plan to soon create a video documenting the model to identify flaws more easily right now or in the future.

@dangercomix07
Copy link
Contributor

Please sync with current commit and make changes. The folder is SimulationModel_v1.0

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