Skip to content

Conversation

@azzamshaikh
Copy link
Contributor

Description

Per Issue 6063, this PR revises the quaternion tutorial based on the issues noted below:

1 - The convention of quaternion representaion in an array in the function definition is [w,x,y,z] not consistent with the passed arrays [x,y,z,w].

2- It is mentioned that the inverse of a unit quaternion is simply the negation of w, which is incorrect, representing the quaternion as the array of [w,x,y,z], the inverse is [w, -x,-y,-z].

Fixes #6063

Did you use Generative AI?

No

@kscottz kscottz enabled auto-merge (squash) December 5, 2025 22:54
@kscottz kscottz self-requested a review December 5, 2025 22:55
Copy link
Collaborator

@kscottz kscottz left a comment

Choose a reason for hiding this comment

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

Thanks! The linter found some trailing white space that needs to get fixed.

@kscottz kscottz requested a review from ahcorde December 11, 2025 18:10
@ahcorde ahcorde added the backport-all backport at reviewers discretion; from rolling to all versions label Dec 11, 2025
@ahcorde ahcorde disabled auto-merge December 11, 2025 21:22
@ahcorde ahcorde enabled auto-merge (squash) December 11, 2025 21:22
@ahcorde ahcorde merged commit f08a6f9 into ros2:rolling Dec 11, 2025
5 checks passed
mergify bot pushed a commit that referenced this pull request Dec 11, 2025
Signed-off-by: Katherine Scott <[email protected]>
Co-authored-by: kscottz <[email protected]>
(cherry picked from commit f08a6f9)
mergify bot pushed a commit that referenced this pull request Dec 11, 2025
Signed-off-by: Katherine Scott <[email protected]>
Co-authored-by: kscottz <[email protected]>
(cherry picked from commit f08a6f9)
mergify bot pushed a commit that referenced this pull request Dec 11, 2025
Signed-off-by: Katherine Scott <[email protected]>
Co-authored-by: kscottz <[email protected]>
(cherry picked from commit f08a6f9)
ahcorde pushed a commit that referenced this pull request Dec 11, 2025
(cherry picked from commit f08a6f9)

Signed-off-by: Katherine Scott <[email protected]>
Co-authored-by: Azzam Shaikh <[email protected]>
Co-authored-by: kscottz <[email protected]>
ahcorde pushed a commit that referenced this pull request Dec 11, 2025
(cherry picked from commit f08a6f9)

Signed-off-by: Katherine Scott <[email protected]>
Co-authored-by: Azzam Shaikh <[email protected]>
Co-authored-by: kscottz <[email protected]>
ahcorde pushed a commit that referenced this pull request Dec 11, 2025
(cherry picked from commit f08a6f9)

Signed-off-by: Katherine Scott <[email protected]>
Co-authored-by: Azzam Shaikh <[email protected]>
Co-authored-by: kscottz <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-all backport at reviewers discretion; from rolling to all versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📝 some mistakes on the quaternion tutorial

3 participants