-
Notifications
You must be signed in to change notification settings - Fork 659
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
fix(pose2twist): compute angular velocity through quaternion #7322
Merged
KYabuuchi
merged 6 commits into
autowarefoundation:main
from
KYabuuchi:fix/angular_velocity_through_quaternion
Jun 7, 2024
Merged
fix(pose2twist): compute angular velocity through quaternion #7322
KYabuuchi
merged 6 commits into
autowarefoundation:main
from
KYabuuchi:fix/angular_velocity_through_quaternion
Jun 7, 2024
Conversation
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
github-actions
bot
added
the
component:localization
Vehicle's position determination in its environment. (auto-assigned)
label
Jun 6, 2024
Signed-off-by: Kento Yabuuchi <[email protected]>
Signed-off-by: Kento Yabuuchi <[email protected]>
Signed-off-by: Kento Yabuuchi <[email protected]>
Signed-off-by: Kento Yabuuchi <[email protected]>
KYabuuchi
force-pushed
the
fix/angular_velocity_through_quaternion
branch
from
June 7, 2024 02:05
1d1bdb7
to
af089e0
Compare
github-actions
bot
added
the
type:documentation
Creating or refining documentation. (auto-assigned)
label
Jun 7, 2024
Signed-off-by: Kento Yabuuchi <[email protected]>
KYabuuchi
added
the
tag:run-build-and-test-differential
Mark to enable build-and-test-differential workflow. (used-by-ci)
label
Jun 7, 2024
KYabuuchi
requested review from
anhnv3991,
Motsu-san,
RyuYamamoto,
SakodaShintaro,
TaikiYamada4 and
YamatoAndo
as code owners
June 7, 2024 02:34
Signed-off-by: Kento Yabuuchi <[email protected]>
SakodaShintaro
approved these changes
Jun 7, 2024
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.
Thanks a lot!
Looks Good To Me
KhalilSelyan
pushed a commit
that referenced
this pull request
Jul 22, 2024
* compute angular velocity from two quaternions Signed-off-by: Kento Yabuuchi <[email protected]> * add test Signed-off-by: Kento Yabuuchi <[email protected]> * add some comments Signed-off-by: Kento Yabuuchi <[email protected]> * remove rpy description Signed-off-by: Kento Yabuuchi <[email protected]> * fix typo Signed-off-by: Kento Yabuuchi <[email protected]> * fix clang-tidy's warning Signed-off-by: Kento Yabuuchi <[email protected]> --------- Signed-off-by: Kento Yabuuchi <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component:localization
Vehicle's position determination in its environment. (auto-assigned)
tag:run-build-and-test-differential
Mark to enable build-and-test-differential workflow. (used-by-ci)
type:documentation
Creating or refining documentation. (auto-assigned)
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.
Description
I have modified the method for obtaining angular velocity from pose.
In the previous approach, incorrect values could be obtained when pitch or yaw were not zero.
Additionally, I have added tests to verify the correctness of my implementation.
Tests performed
logging_simualtor.launch.xml & pose2twist.launch.xml
I have confirmed that twist is being output by launching logging_simulator and pose_twist.launch.
Furthermore, I have verified that the estimated angular velocity does not differ from the previous method.
(Since roll and pitch are sufficiently small in the sample rosbag, the previous method also estimate the correct angular velocity.)
Execute gtest
gtest has been passed.
colcon test --event-handlers console_cohesion+ summary+ --packages-select pose2twist
Effects on system behavior
Not applicable.
Interface changes
Interface does not change.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.