Skip to content

Commit

Permalink
Alternate Package Name Specification (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
DLu authored May 12, 2022
1 parent 924b9a1 commit 7f2927c
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,13 @@ class MoveItConfigsBuilder(ParameterBuilder):
__config_dir_path = Path("config")

# Look-up for robot_name_moveit_config package
def __init__(self, robot_name: str, robot_description="robot_description"):
super().__init__(robot_name + "_moveit_config")
def __init__(
self,
robot_name: str,
robot_description="robot_description",
package_name: Optional[str] = None,
):
super().__init__(package_name or (robot_name + "_moveit_config"))
self.__moveit_configs.package_path = self._package_path
self.__robot_name = robot_name
setup_assistant_file = self._package_path / ".setup_assistant"
Expand Down

0 comments on commit 7f2927c

Please sign in to comment.