Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scaled_joint_trajectory_controller does not behave as expected when stop is pressed on the robot #1250

Open
1 task done
URJala opened this issue Jan 24, 2025 · 0 comments

Comments

@URJala
Copy link
Collaborator

URJala commented Jan 24, 2025

Affected ROS2 Driver version(s)

3.0.2

Used ROS distribution.

Other

Which combination of platform is the ROS driver running on.

Docker

How is the UR ROS2 Driver installed.

Build both the ROS driver and UR Client Library from source

Which robot platform is the driver connected to.

Real robot, UR E-series robot, URSim in docker

Robot SW / URSim version(s)

5.20

How is the ROS driver used.

Through the robot teach pendant using External Control URCap

Issue details

Summary

If the stop button is pressed on the teach pendant (real or simulated) while the scaled joint trajectory controller is executing a trajectory, the controller will flood the terminal running the ROS driver with an error message, and the ROS action responsible for the trajectory will never finish.

Issue details

The error message reported is: "[ros2_control_node-1] [WARN] [1737719032.541174555] [realtime_tools]: goal_handle attempted invalid transition from state EXECUTING with event CANCELED, at ./src/rcl_action/goal_handle.c:95".

Steps to Reproduce

launch the driver with either a real robot or a dockersim attached and execute a trajectory on the scaled_joint_trajectory_controller. While it is executing, press stop on the robot teach pendant.

Expected Behavior

The controller aborts the trajectory and reports the ROS action as aborted to the user. It also does not flood the terminal with error messages.

Actual Behavior

ROS action is never reported as finished, and the terminal is flooded with error messages.

Relevant log output

[ros2_control_node-1] [WARN] [1737719032.541174555] [realtime_tools]: goal_handle attempted invalid transition from state EXECUTING with event CANCELED, at ./src/rcl_action/goal_handle.c:95

Accept Public visibility

  • I agree to make this context public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant