47 #include <flatland_plugins/update_timer.h> 48 #include <flatland_server/model_plugin.h> 49 #include <flatland_server/timekeeper.h> 51 #include <tf/transform_broadcaster.h> 53 #ifndef FLATLAND_PLUGINS_MODEL_TF_PUBLISHER_H 54 #define FLATLAND_PLUGINS_MODEL_TF_PUBLISHER_H 79 void OnInitialize(
const YAML::Node &config)
override;
85 void BeforePhysicsStep(
const Timekeeper &timekeeper)
override;
Definition: model_tf_publisher.h:64
Definition: dummy_model_plugin.h:59
double update_rate_
publish rate
Definition: model_tf_publisher.h:70
tf::TransformBroadcaster tf_broadcaster
For publish ROS TF.
Definition: model_tf_publisher.h:72
std::string world_frame_id_
name of the world frame id
Definition: model_tf_publisher.h:66
bool publish_tf_world_
if to publish the world position of the bodies
Definition: model_tf_publisher.h:67
Definition: timekeeper.h:55
Definition: model_plugin.h:64
UpdateTimer update_timer_
for managing update rate
Definition: model_tf_publisher.h:73
std::vector< Body * > excluded_bodies_
list of bodies to ignore
Definition: model_tf_publisher.h:68
Body * reference_body_
body used as a reference to other bodies
Definition: model_tf_publisher.h:69
Definition: update_timer.h:55