Go to the documentation of this file.
18 #ifndef GZ_GUI_PLUGINS_IMAGEDISPLAY_HH_
19 #define GZ_GUI_PLUGINS_IMAGEDISPLAY_HH_
23 #pragma warning(push, 0)
25 #include <gz/msgs/navsat.pb.h>
38 class NavSatMapPrivate;
89 signals:
void newMessage(
double _latitudeDeg,
double _longitudeDeg);
92 private slots:
void ProcessMessage();
96 private:
void OnMessage(const
gz::msgs::NavSat &_msg);
100 private:
std::unique_ptr<NavSatMapPrivate> dataPtr;
void TopicListChanged()
Notify that topic list has changed.
Q_INVOKABLE QStringList TopicList() const
Get the list of topics publishing NavSat messages.
void newMessage(double _latitudeDeg, double _longitudeDeg)
Notify that a new message has been received.
Base class for Gazebo GUI plugins.
Definition: gz/gui/Plugin.hh:54
virtual void LoadConfig(const tinyxml2::XMLElement *_pluginElem)
Load the plugin with a configuration file. Override this on custom plugins to handle custom configura...
void OnRefresh()
Callback when refresh button is pressed.
QStringList topicList
Topic list.
Definition: NavSatMap.hh:58
Definition: gz/gui/Application.hh:35
Q_INVOKABLE void SetTopicList(const QStringList &_topicList)
Set the topic list.
Display NavSat messages coming through a Gazebo Transport topic on top of a map.
Definition: NavSatMap.hh:48
void OnTopic(const QString _topic)
Callback when a new topic is chosen on the combo box.