On this page

JointTrajectoryPointSubscriber QML Type

Subscribes to trajectory_msgs::msg::JointTrajectoryPoint messages — Each trajectory point specifies either positions[, velocities[, accelerations]] or positions[, effort] for the trajectory to be executed. More...

Import Statement: import QtRos2.TrajectoryMsgs
Inherits:

SubscriberBase

Status: Experimental Extension

Properties

Signals

Detailed Description

All specified values are in the same order as the joint names in JointTrajectory.msg.

JointTrajectoryPointSubscriber receives jointTrajectoryPoint values from a ROS 2 topic. Set the topic and node properties, then connect to the messageReceived() signal.

See also JointTrajectoryPointPublisher and jointTrajectoryPoint.

Property Documentation

accelerations : list<double>

The accelerations field of the last received message. Updated whenever a new message arrives. accelerationsChanged is emitted on every update.

effort : list<double>

The effort field of the last received message. Updated whenever a new message arrives. effortChanged is emitted on every update.

message : jointTrajectoryPoint

The last message received on topic. Updated whenever a new message arrives.

positions : list<double>

The positions field of the last received message. Updated whenever a new message arrives. positionsChanged is emitted on every update.

timeFromStart : duration

The timeFromStart field of the last received message. Updated whenever a new message arrives. timeFromStartChanged is emitted on every update.

velocities : list<double>

The velocities field of the last received message. Updated whenever a new message arrives. velocitiesChanged is emitted on every update.

Signal Documentation

messageReceived(jointTrajectoryPoint msg)

Emitted when a new jointTrajectoryPoint arrives on topic. msg contains the received value.

Note: The corresponding handler is onMessageReceived.

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