Skip to content
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

Operator + between two CartesianPose is not commutative #27

Open
buschbapti opened this issue Feb 17, 2021 · 0 comments
Open

Operator + between two CartesianPose is not commutative #27

buschbapti opened this issue Feb 17, 2021 · 0 comments

Comments

@buschbapti
Copy link
Contributor

Because of the nature of the quaternion operation behind the operator+, the operation is not commutative which is slightly weird for an addition. It can lead to weird errors such as:

current_pose = dt * twist + current_pose;

will not lead to desired behavior when

current_pose = current_pose + dt * twist;

does (see #26). This can be a behavior we have to accept but then make super clear that there are differences between them.

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

No branches or pull requests

1 participant