Go to the documentation of this file.
5 #include <cnoid/Archive>
7 #include <cnoid/SimulatorItem>
8 #include <cnoid/WorldItem>
11 #include <tf2_ros/transform_broadcaster.h>
12 #include <eigen_conversions/eigen_msg.h>
33 static void initialize(cnoid::ExtensionManager * ext);
47 virtual void doPutProperties(cnoid::PutPropertyFunction & putProperty)
override;
49 virtual bool store(cnoid::Archive & archive)
override;
51 virtual bool restore(
const cnoid::Archive & archive)
override;
65 cnoid::SimulatorItemPtr
sim_;
77 std::shared_ptr<ros::NodeHandle>
nh_;
85 std::shared_ptr<tf2_ros::TransformBroadcaster>
tf_br_;
std::string vel_topic_name_
virtual cnoid::Item * doDuplicate() const override
int post_dynamics_func_id_
std::shared_ptr< ros::NodeHandle > nh_
Plugin item to publish topics and broadcast TF of pose and velocity of the model.
std::set< std::string > hooked_sims_
virtual bool store(cnoid::Archive &archive) override
cnoid::BodyItem * body_item_
std::string pose_topic_name_
std::string tf_child_frame_id_
cnoid::WorldItemPtr world_
std::shared_ptr< tf2_ros::TransformBroadcaster > tf_br_
virtual bool restore(const cnoid::Archive &archive) override
static void initialize(cnoid::ExtensionManager *ext)
virtual void doPutProperties(cnoid::PutPropertyFunction &putProperty) override
cnoid::SimulatorItemPtr sim_