On this page

joyFeedback QML Value Type

Qt value type wrapper for sensor_msgs::msg::JoyFeedback ROS 2 messages. More...

Import Statement: import QtRos2.SensorMsgs
Status: Experimental Extension

Properties

Detailed Description

joyFeedback is a structured value type usable in QML. It maps directly to the sensor_msgs::msg::JoyFeedback ROS 2 message type.

Construct a joyFeedback in QML by assigning a JavaScript object whose keys are its component properties, or by setting those properties individually.

See also JoyFeedbackPublisher and JoyFeedbackSubscriber.

Property Documentation

id : uint8_t

This will hold an id number for each type of each feedback.

Example, the first led would be id=0, the second would be id=1

intensity : real

Intensity of the feedback, from 0.0 to 1.0, inclusive. If device is

actually binary, driver should treat 0<=x<0.5 as off, 0.5<=x<=1 as on.

type : uint8_t

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.