Skip to content

Commit

Permalink
Make Axes display use latest transform (#892)
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <[email protected]>

Signed-off-by: Shane Loretz <[email protected]>
(cherry picked from commit 8dc9f8a)
  • Loading branch information
sloretz authored and mergify[bot] committed Sep 12, 2022
1 parent e41cc52 commit 32f622e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void AxesDisplay::update(float dt, float ros_dt)
Ogre::Vector3 position;
Ogre::Quaternion orientation;
if (context_->getFrameManager()->getTransform(
frame, context_->getClock()->now(), position, orientation))
frame, position, orientation))
{
axes_->getSceneNode()->setVisible(true);
axes_->setPosition(position);
Expand Down

0 comments on commit 32f622e

Please sign in to comment.