No version for distro humble showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro kilted showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro rolling showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro ardent showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro bouncy showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro crystal showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro eloquent showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro dashing showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro galactic showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro foxy showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro iron showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro lunar showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro jade showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro indigo showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro hydro showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro kinetic showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro melodic showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange

No version for distro noetic showing jazzy. Known supported distros are highlighted in the buttons above.
Package symbol

qml6_ros2_plugin package from qml6_ros2_plugin repo

qml6_ros2_plugin

ROS Distro
jazzy

Package Summary

Version 1.25.110
License MIT
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/StefanFabian/qml6_ros2_plugin.git
VCS Type git
VCS Version jazzy
Last Updated 2025-12-05
Dev Status MAINTAINED
Released UNRELEASED
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A QML plugin for ROS. Enables full communication with ROS from QML.

Maintainers

  • Stefan Fabian

Authors

No additional authors.

Quality Gate Status Maintainability Rating Reliability Rating Security Rating Documentation Status

Scientific Works

If you are using this module in a scientific context, feel free to cite this paper:

@INPROCEEDINGS{fabian2021hri,
  author = {Stefan Fabian and Oskar von Stryk},
  title = {Open-Source Tools for Efficient ROS and ROS2-based 2D Human-Robot Interface Development},
  year = {2021},
  booktitle = {2021 European Conference on Mobile Robots (ECMR)},
}

QML ROS2 Plugin

Connects QML user interfaces to the Robot Operating System 2 (ROS2). Please be aware that this loses some of the semantic information that the message type would normally provide, since you can subscribe to any message without specifying the type, and the type is only checked if you do specify it.

Currently, has support for the following:
Logging, Publisher, Subscription, ImageTransportSubscription, Service Client, Action Client, TfTransform, Ament Index, and querying topics, services, and actions.

https://github.com/StefanFabian/qml6_ros2_plugin/assets/2090520/c45280cf-24fe-4ff1-8423-30035deda10d

This demo interface utilizes Tf and a velocity publisher to control and display the turtle demo, requiring less than 200 lines of code for the entire interface. It is available in the examples folder as turtle_demo_control.qml.

Logging

Logging is supported and correctly reports from which QML file and line the message came!

import Ros2 1.0

Item {
  function doesWork() {
    Ros2.debug("A debug message")
    // Set the logging level to Debug (default is usually Info)
    Ros2.getLogger().setLoggerLevel(Ros2LoggerLevel.Debug);
    Ros2.debug("A debug message that is actually logged.")
    Ros2.info("I have some information")
    Ros2.warn("This is the last warning")
    Ros2.error("Great! Now there's an error.")
    Ros2.fatal("I'm dead")
    Ros2.info("Just so you know, fatal does not kill a node. Though they usually die after logging fatal")
  }
  // ...
}

Check the logging example in the examples directory!

Quickstart

Check the examples in the examples directory for a quick introduction on how to use this module. Can be used to create a Subscription to any topic and message type that is available on your system.
The type does not need to be known at the time of compilation.

Installation

You can either build this repository as part of your ROS2 workspace as you would any other ROS2 package, or set the CMake option GLOBAL_INSTALL to ON, which installs the plugin in your global qml module directory.
Please note that the plugin will still require a ROS2 environment when loaded to be able to load the message libraries.

You can install the dependencies using rosdep:
The following command assumes you are in the src folder of your ROS 2 workspace

rosdep install --from-paths . --ignore-packages-from-source

Documentation

You can find the documentation on readthedocs.io.

Alternatively, you can follow the steps below to build it yourself.

Dependencies

  • Doxygen
  • Sphinx
  • sphinx_rtd_theme
  • Breathe

Example for Ubuntu
Install dependencies

sudo apt install doxygen python3-sphinx python3-sphinx-rtd-theme python3-breathe 

Build documentation

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package qml6_ros2_plugin

1.25.110 (2025-11-30)

  • Fixed ImageTransportSubscription ignoring enabled when topic is changed.
  • Added ImageTransport.
  • Fixed documentation.
  • Updated Time and Duration wrappers to be more in line with message definition and simplify conversion.
  • Added isValidTopic to Ros2 singleton.
  • Fixed high spinning CPU load when using Zenoh.
  • Fixed ServiceClient pendingRequests property decremented after callback is invoked and missing change signal if service not ready.
  • Added append and replace method for Array. Added conversion flags to allow disabling of lazy array evaluation.
  • Also install library to lib dir for use in other projects.
  • Moved install directory for non global install to be compatible with side by side install of Qt5 5 version.
  • Updated docs and README for Qt 6.
  • Add MessageItemModel as implementation of QAbstractItemModel for the visualization and editing of messages.
  • Allow getting array elements as reference.
  • Fixed queryTopics also finding hidden action topics.
  • Updated message conversion to be more flexible and include message type name.
  • Added isActive property to GoalHandle.
  • Improved service robustness and recovery when service becomes temporarily unavailable.
  • Fixed rare crash when queuing service calls.
  • Moved logging helper to private src folder.
  • Updated CI.
  • Docs and examples updated.
  • Improved reliability of tests.
  • Renamed to qml6_ros2_plugin.
  • Try to improve test robustness involving ROS communication.
  • Renamed aboutToShutdown signal in wrapper in accordance with Ros2Qml singleton. Fixed test after change of how cleanup is done.
  • Wait in service request until service is ready.
  • Updated logging docs.
  • Added more clean shutdown method to avoid middleware crashes due to destruction order of static singletons.
  • Added name and type property to ActionClient.
  • Added query methods for services and actions.
  • Hopefully fixed a weird crash in service client destructor.
  • Fixed QJSValue not assigned to CompoundArrayMessage element.
  • Fixed crash in action client when trying to extract callback and updated docs.
  • Formatting.
  • Added pre-commit hook.
  • Wait for service client to connect when sending request instead of failing. This enables use right after creation without having to wait until the service is connected.
  • Added update watcher to fire status changed events for GoalHandle.
  • QoS wrapper to set Quality of Service settings for Publishers, Subscriptions and Services (#12)
    • Added QoS settings to configure publishers, subscriptions and service clients.

    * Improved throttle rate logic and allow to set it to 0 to receive all message. This is especially useful if you want to use a keep_last policy >1, maybe even with transient_local.

    • Updated docs.

    * Fixed sendGoalSync not actually returning a GoalHandle ever. Will now return one with the future and a status of Unknown until it the future is done.

    • Improved test wait logic.
    • Improved subscribe logic.
  • Added init options to set namespace or domain id.
  • Add getter for hostname.
  • Added missing dependency and fixed deprecated type checks.
  • Updated ImageTransport docs.
  • Fixed formatting.
  • Updated to Qt6.
  • Fix Subscription Full example code
  • Catch exceptions when creating subscripts, service or action clients. Now prints a warning on the console instead.
  • Fixed topic return when not subscribed.
  • Updated publisher documentation.
  • Enable logger service only from jazzy upwards since it is not available in humble.
  • Only use new image encoding if at least jazzy.
  • Change example transport to raw.
  • Renamed test image topics so I don't accidentally troll myself.
  • Fix standard library operator = of thread calling terminate if the previous thread is joinable which causes the process to die.
  • Fixed handling of transport load exception broken by move of subscription to background thread.
  • Remove rolling from CI for master.
  • Formatting.
  • Enable logger service for qml Node.
  • Don't list hidden _action services in getServiceNames methods.
  • Install include dirs and export properly to enable use as library.
  • Changed ImageTransportManager to only require supported pixel formats instead of surface so it can be used in abstractions.
  • Added support yuyv and uyvy if no conversion necessary.
  • Contributors: Stefan Fabian, Tomohiko Sashimura

File truncated at 100 lines see the full file

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged qml6_ros2_plugin at Robotics Stack Exchange