1 #ifndef STATE_PUBLISHER_ROSTOPIC_H 2 #define STATE_PUBLISHER_ROSTOPIC_H 11 #include "../shape_shifter_factory.hpp" 17 Q_PLUGIN_METADATA(IID
"com.icarustechnology.PlotJuggler.StatePublisher" "../statepublisher.json")
24 virtual void updateState(
double current_time)
override;
26 virtual const char*
name()
const override {
return "TopicPublisherROS"; }
32 virtual void play(
double interval)
override;
55 bool toPublish(
const std::string& topic_name);
64 #endif // DATALOAD_CSV_H bool toPublish(const std::string &topic_name)
void filterDialog(bool autoconfirm)
QAction * _select_topics_to_publish
virtual bool enabled() const override
QAction * _enable_self_action
virtual const char * name() const override
void broadcastTF(double current_time)
ros::Publisher _clock_publisher
void setParentMenu(QMenu *menu, QAction *action) override
virtual ~TopicPublisherROS() override
virtual void updateState(double current_time) override
std::unordered_map< std::string, bool > _topics_to_publish
std::map< std::string, ros::Publisher > _publishers
virtual void setEnabled(bool enabled) override
virtual void play(double interval) override
std::unique_ptr< tf::TransformBroadcaster > _tf_publisher
void publishAnyMsg(const rosbag::MessageInstance &msg_instance)