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

Added a new helper method to update the end-effector link for control #2

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

DasGuna
Copy link
Contributor

@DasGuna DasGuna commented Aug 16, 2024

A single method has been added called set_end_effector_link, which has a default argument of None (causing exit if not specified - retaining the default link without any change). If not None, calls the move_group.set_end_effector_link method and updates the arm_commander self.END_EFFECTOR_LINK variable.

Please note functional tests below:

  • Confirmed updated link for end-effector works (i.e., move to pose reflected on changed link)
  • Confirmed empty request and exit (without change). Debugging message as ROS warn log level
  • Tested non-existent link input. Currently terminates the node as TF fails to lookup. Future work here needs to get a list of valid links in tree and confirm prior to setting. TODO added in code as reference.

@andrewluiqut andrewluiqut merged commit d854ec5 into main Aug 19, 2024
0 of 2 checks passed
@andrewluiqut andrewluiqut deleted the feature-end-effector-update branch August 19, 2024 00:23
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