Skip to content

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

Merged
andrewluiqut merged 1 commit intomainfrom
feature-end-effector-update
Aug 19, 2024
Merged

Added a new helper method to update the end-effector link for control#2
andrewluiqut merged 1 commit intomainfrom
feature-end-effector-update

Conversation

@DasGuna
Copy link
Copy Markdown
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
@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