SMACC2
|
#include <cp_tf_listener.hpp>
Public Member Functions | |
CpTFListener () | |
virtual void | update () override |
void | getLastTransform (std::string &targetPoseFrameName, std::string &referenceBaseFrame, geometry_msgs::msg::Pose &out) |
std::future< geometry_msgs::msg::Pose > | waitForNextTransform (std::string &targetName, std::string &referenceBaseFrame) |
Public Member Functions inherited from smacc2::ISmaccComponent | |
ISmaccComponent () | |
virtual | ~ISmaccComponent () |
virtual std::string | getName () const |
Public Member Functions inherited from smacc2::ISmaccUpdatable | |
ISmaccUpdatable () | |
ISmaccUpdatable (rclcpp::Duration duration) | |
void | executeUpdate (rclcpp::Node::SharedPtr node) |
void | setUpdatePeriod (rclcpp::Duration duration) |
Private Attributes | |
std::mutex | m_mutex_ |
std::list< std::shared_ptr< TfPoseTrack > > | poseTracks_ |
Static Private Attributes | |
static std::shared_ptr< tf2_ros::TransformListener > | tfListener_ |
static std::mutex | listenerMutex_ |
Definition at line 44 of file cp_tf_listener.hpp.
cl_moveit2z::CpTFListener::CpTFListener | ( | ) |
|
inline |
Definition at line 80 of file cp_tf_listener.hpp.
|
inlineoverridevirtual |
Implements smacc2::ISmaccUpdatable.
Definition at line 49 of file cp_tf_listener.hpp.
References listenerMutex_, m_mutex_, poseTracks_, and tfListener_.
|
inline |
Definition at line 86 of file cp_tf_listener.hpp.
|
staticprivate |
Definition at line 94 of file cp_tf_listener.hpp.
Referenced by update().
|
private |
Definition at line 96 of file cp_tf_listener.hpp.
Referenced by update().
|
private |
Definition at line 97 of file cp_tf_listener.hpp.
Referenced by update().
|
staticprivate |
Definition at line 93 of file cp_tf_listener.hpp.
Referenced by update().