Skip to content

Commit

Permalink
Swapped and negated roll and pitch for ARINC 705
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoesmp committed Jun 3, 2024
1 parent fd2fb38 commit c67fa02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/InterpolatedMovingPlatform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ InterpolatedMovingPlatform::InterpolatedMovingPlatform(
break;
case RotationSpec::ARINC_705:
calcAttitude = [] (arma::Col<double> const x) -> Rotation {
return Rotation(Directions::right, x[1]).applyTo(
Rotation(Directions::forward, x[0])
return Rotation(Directions::right, -x[0]).applyTo(
Rotation(Directions::forward, -x[1])
).applyTo(
Rotation(Directions::up, -x[2])
);
Expand Down

0 comments on commit c67fa02

Please sign in to comment.