On this page

inertia QML Value Type

Rigid-body mass and inertia tensor about a center of mass. More...

Import Statement: import QtRos2.GeometryMsgs
Status: Experimental Extension

Properties

Detailed Description

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

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

See also InertiaPublisher and InertiaSubscriber.

Property Documentation

com : vector3

Position of the center of mass in meters (m).

ixx : double

Moment of inertia about the X axis in kg·m².

ixy : double

Product of inertia between the X and Y axes in kg·m².

ixz : double

Product of inertia between the X and Z axes in kg·m².

iyy : double

Moment of inertia about the Y axis in kg·m².

iyz : double

Product of inertia between the Y and Z axes in kg·m².

izz : double

Moment of inertia about the Z axis in kg·m².

m : double

Mass in kilograms (kg).

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