Follow Joint Waypoints
Command UR Series cobot using the RTDE interface to follow a specified set of joint positions
Since R2025a
Libraries:
Robotics System Toolbox Support Package for Universal Robots UR Series
Manipulators /
UR RTDE Blocks
Description
The Follow Joint Waypoints block commands the UR Series cobot using the RTDE interface to follow a specified set of joint positions for completing a trajectory. The block allows you to select between smooth motion or trapezoidal motion, and provides additional control options for trapezoidal motion.
Ports
Input
Joint space waypoints (in radians) to complete the trajectory, specified as
a N
-by-6 numeric vector, where N
is the
dimension of the trajectory.
Data Types: double
Number of valid waypoints that you want the cobot to follow (N) if the required joint space waypoints (using the Waypoints input port) is not provided directly; but, they are generated from another block.
Dependencies
This port appears only if you select the parameter Enable Valid Number of Waypoints input port.
.
Data Types: double
Absolute time (time from start), in seconds, for each waypoint segment to complete the motion, specified as a 1-by-N numeric vector.
Dependencies
This port appears only if you select both these options:
Trapezoidal Motion
for Type of
Motion and Time-based control
for
Mode of Control.
.
Data Types: double
Enable the block and activate the motion of cobot based on joint waypoints. Set the port to one of these values:
1
– Enable the block to accept Waypoints input and execute the motion0
– Disable the block and ignore Waypoints input
Data Types: Boolean
Parameters
Specify the IP address of UR Controller corresponding to the UR Series cobot to which you are establishing the connection.
Model name of UR Series cobot to which you are establishing the connection.
Enable additional input port Valid Number of Waypoints to specify the number of valid waypoints (N) to consider if the Waypoints input is generated from another block.
Type of motion to consider for completing the trajectory based on the specified joint space waypoints:
If you select the
Smooth motion
option, either use the default value specified for Blend radius for waypoints to pass through parameter or specify a different value for this parameter. Specifying acceleration and velocity for smooth motion is optional and the can be done using the options under the Motion Control tab of the block.If you select the
Trapezoidal motion
option, use the Mode of control parameter to further select between acceleration and velocity control or time-based control, using the options under the Motion Control tab of the block.
Mode of control for trapezoidal motion of the cobot based on the specified joint space waypoints.
Dependencies
To enable this parameter, select the option Trapezoidal
Motion
for the Type of Motion
parameter.
Blend radius (in meters) for completing a smooth motion of the cobot, based on the joint waypoints input, specified as numeric scalar.
Dependencies
To enable this parameter, select the option Smooth
Motion
for the Type of Motion
parameter.
Enable additional input port for providing the acceleration value, for either smooth motion or trapezoidal motion of cobot. Selecting this parameter disables the option to manually enter acceleration value using the Acceleration to control speed profile parameter.
Dependencies
This parameter appears for these options:
Select
Smooth Motion
for Type of MotionSelect
Trapezoidal Motion
for Type of Motion and selectAcceleration and Velocity based Control
for Mode of Control
Enable additional input port for providing the velocity value, for either smooth motion or trapezoidal motion of cobot. Selecting this parameter disables the option to manually enter the velocity value using the Velocity to control speed profile parameter.
Dependencies
This parameter appears for these options:
Select
Smooth Motion
for Type of MotionSelect
Trapezoidal Motion
for Type of Motion and selectAcceleration and Velocity based Control
for Mode of Control
Acceleration (in rad/s²) to control speed profile of the trajectory, specified as a numeric scalar.
Dependencies
This parameter appears only if the Enable Acceleration input port parameter is not selected.
Velocity (in rad/s) to control speed profile of the trajectory, specified as a numeric scalar.
Dependencies
This parameter appears only if the Enable Velocity input port parameter is not selected.
Version History
Introduced in R2025a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)