Plugin item to publish clock topic.
More...
#include <ClockPublisherItem.h>
|
| static void | initialize (cnoid::ExtensionManager *ext) |
| |
Plugin item to publish clock topic.
Properties
Clock topic name: clock topic name (/clock if empty)
Publish rate: rate of publish
Set use_sim_time: boolean value to set for ROS parameter /use_sim_time
Definition at line 22 of file ClockPublisherItem.h.
◆ ClockPublisherItem() [1/2]
| ClockPublisherItem::ClockPublisherItem |
( |
| ) |
|
◆ ClockPublisherItem() [2/2]
◆ ~ClockPublisherItem()
| ClockPublisherItem::~ClockPublisherItem |
( |
| ) |
|
◆ doDuplicate()
| cnoid::Item * ClockPublisherItem::doDuplicate |
( |
| ) |
const |
|
overrideprotectedvirtual |
◆ doPutProperties()
| void ClockPublisherItem::doPutProperties |
( |
cnoid::PutPropertyFunction & |
putProperty | ) |
|
|
overrideprotectedvirtual |
◆ getPubSkip()
| int ClockPublisherItem::getPubSkip |
( |
| ) |
const |
|
protected |
◆ initialize()
| void ClockPublisherItem::initialize |
( |
cnoid::ExtensionManager * |
ext | ) |
|
|
static |
◆ onPostDynamics()
| void ClockPublisherItem::onPostDynamics |
( |
| ) |
|
|
protected |
◆ restore()
| bool ClockPublisherItem::restore |
( |
const cnoid::Archive & |
archive | ) |
|
|
overrideprotectedvirtual |
◆ setup()
| void ClockPublisherItem::setup |
( |
| ) |
|
|
protected |
◆ start()
| bool ClockPublisherItem::start |
( |
| ) |
|
|
protected |
◆ stop()
| void ClockPublisherItem::stop |
( |
| ) |
|
|
protected |
◆ store()
| bool ClockPublisherItem::store |
( |
cnoid::Archive & |
archive | ) |
|
|
overrideprotectedvirtual |
◆ clock_pub_
| ros::Publisher CnoidRosUtils::ClockPublisherItem::clock_pub_ |
|
protected |
◆ clock_topic_name_
| std::string CnoidRosUtils::ClockPublisherItem::clock_topic_name_ = "" |
|
protected |
◆ hooked_sims_
| std::set<std::string> CnoidRosUtils::ClockPublisherItem::hooked_sims_ |
|
protected |
◆ initialized_
| bool CnoidRosUtils::ClockPublisherItem::initialized_ = false |
|
inlinestatic |
◆ nh_
| std::shared_ptr<ros::NodeHandle> CnoidRosUtils::ClockPublisherItem::nh_ |
|
protected |
◆ post_dynamics_func_id_
| int CnoidRosUtils::ClockPublisherItem::post_dynamics_func_id_ = -1 |
|
protected |
◆ pub_rate_
| double CnoidRosUtils::ClockPublisherItem::pub_rate_ = 1000.0 |
|
protected |
◆ pub_skip_
| int CnoidRosUtils::ClockPublisherItem::pub_skip_ = 0 |
|
protected |
◆ sim_
| cnoid::SimulatorItemPtr CnoidRosUtils::ClockPublisherItem::sim_ |
|
protected |
◆ sim_cnt_
| int CnoidRosUtils::ClockPublisherItem::sim_cnt_ = 0 |
|
protected |
◆ use_sim_time_
| bool CnoidRosUtils::ClockPublisherItem::use_sim_time_ = true |
|
protected |
◆ world_
| cnoid::WorldItemPtr CnoidRosUtils::ClockPublisherItem::world_ |
|
protected |
The documentation for this class was generated from the following files:
- /home/runner/work/CnoidRosUtils/CnoidRosUtils/catkin_ws/src/isri-aist/CnoidRosUtils/plugin/ClockPublisherItem.h
- /home/runner/work/CnoidRosUtils/CnoidRosUtils/catkin_ws/src/isri-aist/CnoidRosUtils/plugin/ClockPublisherItem.cpp