VisualizeLidar.hh
void OnScan(const msgs::LaserScan &_msg)
Callback function to get data from the message.
void TopicListChanged()
Notify that topic list has changed.
bool eventFilter(QObject *_obj, QEvent *_event) override
This library is part of the Gazebo project.
The EntityComponentManager constructs, deletes, and returns components and entities....
Definition: gz/sim/EntityComponentManager.hh:66
Q_INVOKABLE void SetTopicList(const QStringList &_topicList)
Set the topic list from a string, for example 'ignition.msgs.StringMsg'.
QStringList topicList
Topic list.
Definition: VisualizeLidar.hh:50
Q_INVOKABLE QString MaxRange() const
Get the maximum range of the lidar sensor (in metres).
Q_INVOKABLE void OnTopic(const QString &_topicName)
Set topic to subscribe for LidarSensor data.
void MaxRangeChanged()
Notify that maximum range has changed.
Q_INVOKABLE void DisplayVisual(bool _value)
Set whether to display the lidar visual.
Information passed to systems on the update callback.
Definition: include/gz/sim/Types.hh:38
Q_INVOKABLE void UpdateType(int _type)
Set visual type of LidarVisual.
Q_INVOKABLE void OnRefresh()
Callback when refresh button is pressed.
QString minRange
Min Range.
Definition: VisualizeLidar.hh:57
void MinRangeChanged()
Notify that minimum range has changed.
Q_INVOKABLE void UpdateSize(int _size)
Set lidar visualization size.
Q_INVOKABLE void UpdateNonHitting(bool _value)
Set whether to display non-hitting rays.
void Update(const UpdateInfo &, EntityComponentManager &_ecm) override
Update callback called every time the system is stepped. This is called at an Ignition transport thre...
void LoadLidar()
Load the scene and attach LidarVisual to the scene.
Q_INVOKABLE QString MinRange() const
Get the minimum range of the lidar sensor (in metres).
Visualize the LaserScan message returned by the sensors. Use the checkbox to turn visualization of no...
Definition: VisualizeLidar.hh:40
STL namespace.
QString maxRange
Max Range.
Definition: VisualizeLidar.hh:64
Q_INVOKABLE QStringList TopicList() const
Get the topic list as a string.
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override