Skip to content

Fix implementation of Quaternion.vec_xyzs#30

Merged
petercorke merged 1 commit into
rai-opensource:masterfrom
btalb:fix/vec_xyzs
Nov 2, 2021
Merged

Fix implementation of Quaternion.vec_xyzs#30
petercorke merged 1 commit into
rai-opensource:masterfrom
btalb:fix/vec_xyzs

Conversation

@btalb
Copy link
Copy Markdown
Contributor

@btalb btalb commented Oct 18, 2021

The vec and vec_xyzs fields of the Quaternion class currently return the same 4-vector (s, x, y, z).

This pull request updates vec_xyzs to return (x, y, z, s).

@btalb btalb changed the title Use np.roll() for Quaternion.vec_xyzs Fix implementation of Quaternion.vec_xyzs Oct 18, 2021
@petercorke petercorke merged commit 1d21d52 into rai-opensource:master Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants