Skip to content

Commit

Permalink
Add support for multiple MoveItConfigBuilder instaces (#1807) (#1808)
Browse files Browse the repository at this point in the history
(cherry picked from commit 25d086c)

Co-authored-by: Marco Magri <94347649+MarcoMagriDev@users.noreply.github.com>
  • Loading branch information
mergify[bot] and MarcoMagriDev committed Dec 14, 2022
1 parent 4c6da27 commit e65f457
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ def to_dict(self):


class MoveItConfigsBuilder(ParameterBuilder):
__moveit_configs = MoveItConfigs()
__moveit_configs: MoveItConfigs
__robot_name: str
__urdf_package: Path
# Relative path of the URDF file w.r.t. __urdf_package
Expand All @@ -152,7 +152,7 @@ def __init__(
package_name: Optional[str] = None,
):
super().__init__(package_name or (robot_name + "_moveit_config"))
self.__moveit_configs.package_path = self._package_path
self.__moveit_configs = MoveItConfigs(package_path=self._package_path)
self.__robot_name = robot_name
setup_assistant_file = self._package_path / ".setup_assistant"

Expand Down

0 comments on commit e65f457

Please sign in to comment.