Skip to content

Commit

Permalink
Make Axes display use latest transform (#892) (#904)
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)

Co-authored-by: Shane Loretz <[email protected]>
  • Loading branch information
mergify[bot] and sloretz authored Sep 12, 2022
1 parent d146c77 commit f09a311
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 f09a311

Please sign in to comment.