-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[StabilizerTask] Fix frames of forces and velocities in foot force difference control #290
Merged
gergondet
merged 1 commit into
jrl-umi3218:master
from
mmurooka:stabilizer-force-diff-frame
Sep 9, 2022
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I start to consider these lines should be
for wrench transformation although we used only the rotation in the similar case https://github.com/arntanguy/lipm_walking_controller/pull/2/files#diff-86694886f91b285c323e710f1b64ec1c0f5ab403d0ee748e112030f766fcae11R139
I'm not confident, so could anyone give some idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reconsidered and came to the conclusion that it would be OK to leave it as it is ("as is" in the merged PR).
For wrench, only force is used (moment is not used), so the position of the transformation is not important.
For velocity, the angular velocity is set to zero as shown below, which implicitly assumes a frame whose position is identical to the surface and whose orientation is identical to the inertial frame. In such cases, it is correct to apply rotation-only transformations.
https://github.com/jrl-umi3218/mc_rtc/pull/290/files/72f45b20f3766351b296e37b734b65113184baeb#diff-be940a972e16470195608839479a680e1f8aba715c2e5f4c62cdaa4666be420eR1169-R1170