Closed phhuseboe closed 1 year ago
Uncertain if this issue is related to quaternions and their rotations. Would like a discussion @phhuseboe.
Until then the issue will be kept in TODO.
Blindzone?
@aestene It was observed that the base oriented itself north when we told it to orient itself south. We have converted the axis-angle representation of orientation to quaternions, following the right hand rule. Echo's coordinate frame follows the left-hand rule, and I believe that this makes it turn the opposite direction
We will test this with the robot today.
Describe the bug The convertion from Echo's Axis-angle representation to quaternion makes the calculated pose rotate counterclockwise instead of clockwise, making the robot move to wrong pose
To Reproduce Steps to reproduce the behavior:
Expected behavior The resulting pose should be set following clockwise rotation
Proposed solution Negate the angle used in convertion from Axis-Angle to quaternions
Screenshots N/A