23 setObjectName(
"Gauge");
38 widget_->setWindowTitle(
"Gauge[*]");
49 std::stringstream out;
84 std::string gaugeName;
109 double threshold = 0.;
117 std::string topicName;
virtual void initPlugin(qt_gui_cpp::PluginContext &context)
QcNeedleItem * mSpeedNeedle_
ros::Subscriber needleSub_
virtual void saveSettings(qt_gui_cpp::Settings &plugin_settings, qt_gui_cpp::Settings &instance_settings) const
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
virtual void restoreSettings(const qt_gui_cpp::Settings &plugin_settings, const qt_gui_cpp::Settings &instance_settings)
void setText(const QString &text, bool repaint=true)
void addWidget(QWidget *widget)
QcGaugeWidget * mSpeedGauge_
virtual void shutdownPlugin()
void setValueRange(float minValue, float maxValue)
void setLabel(QcLabelItem *)
ros::NodeHandle & getNodeHandle() const
bool getParam(const std::string &key, std::string &s) const
void setColor(const QColor &color)
void newDataCallback(const std_msgs::Float64 &msg)
#define PLUGINLIB_EXPORT_CLASS(class_type, base_class_type)
void addColor(float position, const QColor &color)
void setParam(const std::string &key, const XmlRpc::XmlRpcValue &v) const