Skip to content

Commit

Permalink
Make Axes display use latest transform (#892) (#903)
Browse files Browse the repository at this point in the history
Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>

Signed-off-by: Shane Loretz <sloretz@osrfoundation.org>
(cherry picked from commit 8dc9f8a)

Co-authored-by: Shane Loretz <sloretz@osrfoundation.org>
  • Loading branch information
mergify[bot] and sloretz committed Sep 12, 2022
1 parent e776bce commit 921d9f9
Showing 1 changed file with 1 addition and 1 deletion.
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 921d9f9

Please sign in to comment.