Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/flightlog.js
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ export function FlightLog(logData) {
x: srcFrame[imuQuaternion[0]] / scaleFromFixedInt16,
y: srcFrame[imuQuaternion[1]] / scaleFromFixedInt16,
z: srcFrame[imuQuaternion[2]] / scaleFromFixedInt16,
w: 1.0,
w: 0.0,
Copy link
Contributor

Choose a reason for hiding this comment

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

This is also wrong. $w$ must be recomputed so that size of quaternion is 1

};
const xx = q.x * q.x,
xy = q.x * q.y,
Expand Down