On this page

jointTrajectory QML Value Type

The header is used to specify the coordinate frame and the reference time for the trajectory durations. More...

Import Statement: import QtRos2.TrajectoryMsgs
Status: Experimental Extension

Properties

Detailed Description

jointTrajectory is a structured value type usable in QML. It maps directly to the trajectory_msgs::msg::JointTrajectory ROS 2 message type.

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

See also JointTrajectoryPublisher and JointTrajectorySubscriber.

Property Documentation

header : header

jointNames : list<string>

The names of the active joints in each trajectory point. These names are

ordered and must correspond to the values in each trajectory point.

points : list<jointTrajectoryPoint>

Array of trajectory points, which describe the positions, velocities,

accelerations and/or efforts of the joints at each time point.

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