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

Performance Improvements #53

Merged

Conversation

ChandimaFernando
Copy link
Collaborator

This PR takes care of three things.

1. Avoids the error in tolerance with respect to wrist 3 joint:
[ur_ros2_control_node-1] [ERROR] [1733772654.368572012] [tolerances]: State tolerances failed for joint 5: [ur_ros2_control_node-1] [ERROR] [1733772654.368591540] [tolerances]: Position Error: -6.283197, Position Tolerance: 0.200000 [ur_ros2_control_node-1] [WARN] [1733772654.368609103] [scaled_joint_trajectory_controller]: Aborted due to state tolerance violation
The reason is that the update on UR_ROS2_Description package allows the wrist 3 to be continuous, but the change is not propagated to the trajectory controller. Reverting to an earlier version of UR_ROS2_Description avoids the error.

Following two changes were part of a PR that did not got merged, but contain important changes that need to be merged with the main.

  1. Introduces ROS_DOMAIN_ID=10 to force DDS to communicate on domain 10 for guaranteed communication across multiple nodes. In addition, the devcontainer.json file for VScode now connects to the host network.

  2. Removes loops around lookupTransform() and use the functions inbuilt timer to time out if a tf server hangs infinitely.

Copy link
Owner

@maffettone maffettone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only caveat to the dev container changes is how this will work when using the URSim. But for now, this is fine.

@maffettone
Copy link
Owner

Did we raise a bug with UR?

@maffettone maffettone merged commit bd11dd2 into maffettone:humble Dec 9, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants