Skip to content

Commit

Permalink
fix quaternion construction error
Browse files Browse the repository at this point in the history
  • Loading branch information
madratman committed Mar 26, 2020
1 parent f660720 commit 275106d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Unreal/Plugins/AirSim/Source/NedTransform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ FTransform NedTransform::fromGlobalNed(const Pose& pose) const
}
FQuat NedTransform::fromNedtoEnu(const FQuat& q) const
{
return FQuat(q.W, q.Y, q.X, -q.Z);
return FQuat(q.Y, q.X, -q.Z, q.W);
}
FTransform NedTransform::fromGlobalNedToUUENU(const Pose& pose) const
{
Expand Down

0 comments on commit 275106d

Please sign in to comment.