Skip to content

Commit

Permalink
Update quaternionDerivative.m
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielenava committed Dec 25, 2018
1 parent 1c32da2 commit 3d0c7d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/matlab-wbc/+wbc/quaternionDerivative.m
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

%% --- Initialization ---

% TO BE VERIFIED: the expected angular velocity is in BODY frame, i.e. b_omega_b
qtDot = 0.5 *[0 -transpose(omega); ...
omega -wbc.skew(omega)]*qt +k*(1 -transpose(qt)*qt)*qt;
end

2 comments on commit 3d0c7d3

@traversaro
Copy link
Member

@traversaro traversaro commented on 3d0c7d3 Dec 25, 2018

Choose a reason for hiding this comment

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

@gabrielenava Happy Christmas!

@gabrielenava
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You spotted me 😂

Please sign in to comment.