On this page

odometry QML Value Type

This represents an estimate of a position and velocity in free space. More...

Import Statement: import QtRos2.NavMsgs
Status: Experimental Extension

Properties

Detailed Description

The pose in this message should be specified in the coordinate frame given by header.frame_id The twist in this message should be specified in the coordinate frame given by the child_frame_id

odometry is a structured value type usable in QML. It maps directly to the nav_msgs::msg::Odometry ROS 2 message type.

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

See also OdometryPublisher and OdometrySubscriber.

Property Documentation

childFrameId : string

Frame id the pose points to. The twist is in this coordinate frame.

header : header

Includes the frame id of the pose parent.

pose : poseWithCovariance

Estimated pose that is typically relative to a fixed world frame.

twist : twistWithCovariance

Estimated linear and angular velocity relative to child_frame_id.

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