-
Notifications
You must be signed in to change notification settings - Fork 36
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
[Modle][Control][Navigation] refactor the whole system from XYZ-Euler angles to true SO(3) #671
Open
tongtybj
wants to merge
20
commits into
jsk-ros-pkg:master
Choose a base branch
from
tongtybj:PR/feature/so3_system
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
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
This reverts commit 641b911.
…e from groundtruth
…nd magnetmeter and update it with VO/mocap
…method. use actual baselink orientation for coordinate transformation.
…message to suppress warning message
…in estimation and control
…n attitude estimation
…(i.e., wx_b and wz_b), and refactor the roles of different sensor plugins to indepedently update these vectors.
This is the latest progress of SO(3) orientation system. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What is this
Handle the robot orientation with SO(3) rotation matrix. So far, the orientation is described in XYZ-Euler angles, and the singularity
leads the limitation to handle omni-directional motion for our robots.
Details
wx_b, wy_b, wz_b
):wz_b
is solely related to gravity, and thus it is possible to estimated from accelerometer and gyrometer. Whilewx_b
can be obtaind from magnetometer and gyrometer ( and a assistance ofwz_b
). Them,wy_b
can be calcualted from the cross-production ofwx_b
andwz_b
. This is the bacis concept to obtain rotation matrix using 9-axis IMU in Spinal. Also refer to the Fig.1wx_b, wy_b and wz_b
. Thenwx_b
can be soley used to update rotation matrix. Please check these API and usage in codes. Fig.2 can be also helpful for understanding.Fig.1
![Fig1](https://private-user-images.githubusercontent.com/3666095/411291010-75d08826-75a5-47c2-9084-ef78d8832571.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjg1NDcsIm5iZiI6MTczOTE2ODI0NywicGF0aCI6Ii8zNjY2MDk1LzQxMTI5MTAxMC03NWQwODgyNi03NWE1LTQ3YzItOTA4NC1lZjc4ZDg4MzI1NzEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTBUMDYxNzI3WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NTBhMzdmYWM2N2I2NzQ4ZWM0OTc4ZWY4ZjNkOTIxMmY5NjhhNGJmMGQ5MTZlNDFjNWYxYjc3M2UyODZlNmFiMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.04FclYStleeuaejOwaG82GKeC3Zw__-1FuK6IGcLX5c)
Fig.2
![Fig2](https://private-user-images.githubusercontent.com/3666095/411291015-223dfbbe-4019-446d-8c50-6add4966c836.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3Lm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