Go to the documentation of this file.
8 #include <tf2/convert.h>
9 #include <tf2/transform_datatypes.h>
10 #include <tf2/LinearMath/Transform.h>
11 #include <tf2_geometry_msgs/tf2_geometry_msgs.h>
12 #include <tf2_ros/transform_broadcaster.h>
58 if (!
id.empty() &&
id[0] ==
'/')
65 tf2::Stamped<tf2::Transform>
t;
68 t.stamp_ = ros::Time::now();
70 geometry_msgs::TransformStamped msg;
72 msg.child_frame_id = e->id().str();
void configure(tue::Configuration config)
#define ED_REGISTER_PLUGIN(Derived)
virtual ~TFPublisherPlugin()
const_iterator begin() const
shared_ptr< const Entity > EntityConstPtr
const_iterator end() const
void process(const ed::WorldModel &world, ed::UpdateRequest &req)
void convert(const geo::ShapeConstPtr shape, ed_msgs::SubVolume &sub_Volume)
converting geo::ShapeConstPtr to ed_msgs::SubVolume message
void convert(const geo::DepthCamera &cam_model, sensor_msgs::CameraInfo &msg)
std::unique_ptr< tf2_ros::TransformBroadcaster > tf_broadcaster_
bool value(const std::string &name, T &value, RequiredOrOptional opt=REQUIRED)
std::string root_frame_id_
tue::config::ReaderWriter config