Skip to content

Commit

Permalink
[mc_tvm] Include refAccel in OrientationFunction and PositionFunction
Browse files Browse the repository at this point in the history
  • Loading branch information
gergondet committed Sep 8, 2023
1 parent a77276c commit 183ed86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mc_tvm/OrientationFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void OrientationFunction::updateJacobian()

void OrientationFunction::updateNormalAcceleration()
{
normalAcceleration_ = frame_.normalAcceleration().angular();
normalAcceleration_ = frame_.normalAcceleration().angular() - refAccel_;
}

} // namespace mc_tvm
2 changes: 1 addition & 1 deletion src/mc_tvm/PositionFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void PositionFunction::updateJacobian()

void PositionFunction::updateNormalAcceleration()
{
normalAcceleration_ = frame_.normalAcceleration().linear();
normalAcceleration_ = frame_.normalAcceleration().linear() - refAccel_;
}

} // namespace mc_tvm

0 comments on commit 183ed86

Please sign in to comment.