-
Notifications
You must be signed in to change notification settings - Fork 25
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
Some question about the Jacobian #19
Comments
@q87956256 I went back through the derivation process and it seems that I made a terrible mistake in my approch 😢 If I rearrange it, it looks like this, The state vector where:
The residual is defined as: The goal is to compute the Jacobian matrix: The first component of the residual Under rotation perturbation, Expanding this to first order, The skew-symmetric matrix satisfies the property: Substituting this into the previous expression: Using the property of the cross product: Thus: The second residual component is: The perturbation of The Jacobian of Final Jacobian Matrix I apologize for the inconvenience and will update the code to match the above formula. |
Thank you for your wonderful work!
I have two questions about the code:
1.In formula 8, the results from the code corresponding to the Jacobian derivation of the error with respect to the error state variables are different from those I derived.
![Selection_008](https://private-user-images.githubusercontent.com/41353195/393239461-1d6837a7-c729-4728-8319-1289d10882a6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTEyMDEsIm5iZiI6MTczOTM1MDkwMSwicGF0aCI6Ii80MTM1MzE5NS8zOTMyMzk0NjEtMWQ2ODM3YTctYzcyOS00NzI4LTgzMTktMTI4OWQxMDg4MmE2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA5MDE0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPThjY2U4ZmExYjI1OTg0ZDliYWU4ZDAzNGVkNTNjNjZkNTEwYmFkNTM5MDFhMTNlYjg1ZTE1ZjA4MTdmZDFmNmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.l7ZyNj1n57Vwx0ZQHD-TjaUYi8Nvqx0FVX7YWN3MeH8)
![Selection_010](https://private-user-images.githubusercontent.com/41353195/393242497-32d15a15-4d4c-4a07-ad1f-2a70e164ecef.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTEyMDEsIm5iZiI6MTczOTM1MDkwMSwicGF0aCI6Ii80MTM1MzE5NS8zOTMyNDI0OTctMzJkMTVhMTUtNGQ0Yy00YTA3LWFkMWYtMmE3MGUxNjRlY2VmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA5MDE0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBmNGQ1YjJmMTc0MzJhYzk3ODUyYmQxYmMxNGFkYzNhMzM3ZGQ3NDA4Y2E3NWMyYzUyZTIyMjYxY2Q3N2Q3YjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ZqFT0JYMzWfiBPeWj3iK0elCWQ4HcwaKK90huLjB-hg)
In your code, the Jacobian of the error with respect to the error state variables is:
However, my derivation process and results are shown in the figure below:
That is different with your code.
Could you kindly share your derivation process?
2.In formula 9, I have the same question about the Jacobian:
![Selection_002](https://private-user-images.githubusercontent.com/41353195/393239800-a673086c-6bfa-4740-a1c9-f6a76802529a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTEyMDEsIm5iZiI6MTczOTM1MDkwMSwicGF0aCI6Ii80MTM1MzE5NS8zOTMyMzk4MDAtYTY3MzA4NmMtNmJmYS00NzQwLWExYzktZjZhNzY4MDI1MjlhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA5MDE0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwZTY0ZjBmZGJiOGNlZjM4ODQyNGIzNGZkMjcwYjFkMWViNzNkZjZjYjBmMzNlNjc1YWI0ZGQ1YWE4ZmEzZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CBHZId3AvWsmUyxu6xcWmCblbpvSYtF6Lwgqmz4u6_g)
![IMG_20241206_195504](https://private-user-images.githubusercontent.com/41353195/393239992-85b2e30f-366d-41b6-a92e-36455bf1acd5.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTEyMDEsIm5iZiI6MTczOTM1MDkwMSwicGF0aCI6Ii80MTM1MzE5NS8zOTMyMzk5OTItODViMmUzMGYtMzY2ZC00MWI2LWE5MmUtMzY0NTViZjFhY2Q1LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDA5MDE0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhOGQ2ZDFkN2RjNTE2NWJhODhiYTdmZTE3N2UzYjdlOWU0ZDE1ZGM3MDliOGRmMTk4MDI2MjI0NThjZjI5ZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.fqwhBaaK1R7jxKz53iIPkcj0MmVL7i5odpcRRPB4rjU)
In your code, the Jacobian of the error with respect to the error state variables is:
However, my derivation process and results are shown in the figure below:
That is different with your code.
Could you kindly share your derivation process?
The text was updated successfully, but these errors were encountered: