On this page

twistWithCovariance QML Value Type

This expresses velocity in free space with uncertainty. More...

Import Statement: import QtRos2.GeometryMsgs
Status: Experimental Extension

Properties

Detailed Description

twistWithCovariance is a structured value type usable in QML. It maps directly to the geometry_msgs::msg::TwistWithCovariance ROS 2 message type.

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

See also TwistWithCovariancePublisher and TwistWithCovarianceSubscriber.

Property Documentation

covariance : list<double>

Row-major 6×6 covariance matrix for the twist.

Diagonal entries are variances of linear.x, linear.y, linear.z, angular.x, angular.y, angular.z (in that order); off-diagonal entries are the corresponding covariances. Set all 36 entries; unknown components are often left at zero or filled with a small positive variance.

twist : twist

© 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.