Skip to content

Commit

Permalink
Make Axes display use latest transform (ros2#892)
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>
  • Loading branch information
sloretz authored Sep 1, 2022
1 parent dec5e8f commit 8dc9f8a
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 8dc9f8a

Please sign in to comment.