include
generic_control_toolbox
tf_manager.hpp
Go to the documentation of this file.
1
#ifndef __TF_MANAGER__
2
#define __TF_MANAGER__
3
4
#include <geometry_msgs/PoseStamped.h>
5
#include <
ros/ros.h
>
6
#include <
tf/transform_listener.h
>
7
#include <
generic_control_toolbox/manager_base.hpp
>
8
9
namespace
generic_control_toolbox
10
{
14
class
TFManager
:
public
ManagerBase
15
{
16
public
:
17
TFManager
(
ros::NodeHandle
nh =
ros::NodeHandle
(
"~"
));
18
~TFManager
() {}
19
29
bool
getPoseInFrame
(
const
std::string &frame,
30
const
geometry_msgs::PoseStamped &pose,
31
geometry_msgs::PoseStamped &out);
32
33
private
:
34
bool
getParam
();
35
36
ros::NodeHandle
nh_
;
37
int
max_tf_attempts_
;
38
tf::TransformListener
listener_
;
39
};
40
}
// namespace generic_control_toolbox
41
#endif
generic_control_toolbox::TFManager::~TFManager
~TFManager()
Definition:
tf_manager.hpp:18
transform_listener.h
ros::NodeHandle
generic_control_toolbox::TFManager::getPoseInFrame
bool getPoseInFrame(const std::string &frame, const geometry_msgs::PoseStamped &pose, geometry_msgs::PoseStamped &out)
Definition:
tf_manager.cpp:13
generic_control_toolbox::ManagerBase
Definition:
manager_base.hpp:12
generic_control_toolbox::TFManager
Definition:
tf_manager.hpp:14
generic_control_toolbox::TFManager::listener_
tf::TransformListener listener_
Definition:
tf_manager.hpp:38
generic_control_toolbox::TFManager::max_tf_attempts_
int max_tf_attempts_
Definition:
tf_manager.hpp:37
generic_control_toolbox::TFManager::TFManager
TFManager(ros::NodeHandle nh=ros::NodeHandle("~"))
Definition:
tf_manager.cpp:5
manager_base.hpp
generic_control_toolbox::TFManager::getParam
bool getParam()
Definition:
tf_manager.cpp:46
generic_control_toolbox
Definition:
bag_manager.hpp:8
generic_control_toolbox::TFManager::nh_
ros::NodeHandle nh_
Definition:
tf_manager.hpp:36
ros.h
tf::TransformListener
generic_control_toolbox
Author(s): diogo
autogenerated on Mon Feb 28 2022 22:24:37