NavSatMap Class Reference
Display NavSat messages coming through a Gazebo Transport topic on top of a map. More...
#include <NavSatMap.hh>
Public Slots | |
void | OnRefresh () |
Callback when refresh button is pressed. More... | |
void | OnTopic (const QString _topic) |
Callback when a new topic is chosen on the combo box. More... | |
Signals | |
void | newMessage (double _latitudeDeg, double _longitudeDeg) |
Notify that a new message has been received. More... | |
void | TopicListChanged () |
Notify that topic list has changed. More... | |
Public Member Functions | |
NavSatMap () | |
Constructor. More... | |
virtual | ~NavSatMap () |
Destructor. More... | |
virtual void | LoadConfig (const tinyxml2::XMLElement *_pluginElem) |
Q_INVOKABLE void | SetTopicList (const QStringList &_topicList) |
Set the topic list. More... | |
Q_INVOKABLE QStringList | TopicList () const |
Get the list of topics publishing NavSat messages. More... | |
Properties | |
QStringList | topicList |
Topic list. More... | |
Detailed Description
Display NavSat messages coming through a Gazebo Transport topic on top of a map.
Configuration
<topic> : Set the topic to receive NavSat messages. <topic_picker> : Whether to show the topic picker, true by default. If this is false, a <topic> must be specified.
Constructor & Destructor Documentation
◆ NavSatMap()
NavSatMap | ( | ) |
Constructor.
◆ ~NavSatMap()
|
virtual |
Destructor.
Member Function Documentation
◆ LoadConfig()
|
virtual |
◆ newMessage
|
signal |
Notify that a new message has been received.
- Parameters
-
[in] _latitudeDeg Latitude in degrees [in] _longitudeDeg Longitude in degrees
◆ OnRefresh
|
slot |
Callback when refresh button is pressed.
◆ OnTopic
|
slot |
Callback when a new topic is chosen on the combo box.
◆ SetTopicList()
Q_INVOKABLE void SetTopicList | ( | const QStringList & | _topicList | ) |
Set the topic list.
- Parameters
-
[in] _topicList List of topics
◆ TopicList()
Q_INVOKABLE QStringList TopicList | ( | ) | const |
Get the list of topics publishing NavSat messages.
- Returns
- List of topics
◆ TopicListChanged
|
signal |
Notify that topic list has changed.
Property Documentation
◆ topicList
|
readwrite |
Topic list.
The documentation for this class was generated from the following file: