Go to the documentation of this file.
35 #include <OgreQuaternion.h>
41 const std::string& tf_prefix)
42 : frame_manager_(frame_manager), status_callback_(status_cb), tf_prefix_(tf_prefix)
47 Ogre::Vector3& visual_position,
48 Ogre::Quaternion& visual_orientation,
49 Ogre::Vector3& collision_position,
50 Ogre::Quaternion& collision_orientation)
const
54 Ogre::Vector3 position;
55 Ogre::Quaternion orientation;
67 visual_position = position;
68 visual_orientation = orientation;
69 collision_position = position;
70 collision_orientation = orientation;
76 const std::string& link_name,
77 const std::string& text)
const
Helper class for transforming data into Ogre's world frame (the fixed frame).
std::string concat(const std::string &prefix, const std::string &frame)
FrameManager * frame_manager_
const std::string & getFixedFrame()
Return the current fixed frame name.
void setLinkStatus(StatusLevel level, const std::string &link_name, const std::string &text) const override
StatusCallback status_callback_
bool getTransform(const Header &header, Ogre::Vector3 &position, Ogre::Quaternion &orientation)
Return the pose for a header, relative to the fixed frame, in Ogre classes.
bool getLinkTransforms(const std::string &link_name, Ogre::Vector3 &visual_position, Ogre::Quaternion &visual_orientation, Ogre::Vector3 &collision_position, Ogre::Quaternion &collision_orientation) const override
TFLinkUpdater(FrameManager *frame_manager, const StatusCallback &status_cb=StatusCallback(), const std::string &tf_prefix=std::string())
boost::function< void(StatusLevel, const std::string &, const std::string &)> StatusCallback
rviz
Author(s): Dave Hershberger, David Gossow, Josh Faust, William Woodall
autogenerated on Fri Aug 2 2024 08:43:10