Skip to content

Commit

Permalink
fixed register group when called with a str
Browse files Browse the repository at this point in the history
  • Loading branch information
ichumuh committed Dec 5, 2024
1 parent 3b79f95 commit 642d0ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/giskardpy_ros/python_interface/python_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def register_group(self, new_group_name: str, root_link_name: Union[str, giskard
:return: WorldResult
"""
if isinstance(root_link_name, str):
root_link_name = giskard_msgs.LinkName(root_link_name)
root_link_name = giskard_msgs.LinkName(root_link_name, '')
req = WorldGoal()
req.operation = WorldGoal.REGISTER_GROUP
req.group_name = new_group_name
Expand Down

0 comments on commit 642d0ea

Please sign in to comment.