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