Skip to content

why divide Jτaa by 2 #96

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

Open
hustmzy opened this issue May 2, 2024 · 1 comment
Open

why divide Jτaa by 2 #96

hustmzy opened this issue May 2, 2024 · 1 comment

Comments

@hustmzy
Copy link

hustmzy commented May 2, 2024

Hi, thanks for the great work. I have a question that I would like to ask.
In the input.jl file, within the function input_impulse!, why is it necessary to divide Jτaa by 2 when calculating pbody.state.Jτ2, especially considering that in impulse_transform, Diagonal([sones(3); 0.5 * sones(3)]) * transpose([X Q]) has already divided by 2?

image

Thanks for your answer.

@mfogelson
Copy link
Collaborator

I guess that this is related to dealing with the orientation as a quaternion.

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