Skip to content

Commit

Permalink
Fix Moveit Configs Utils Bug (#1174)
Browse files Browse the repository at this point in the history
  • Loading branch information
DLu authored Apr 12, 2022
1 parent 3fe5b82 commit 0f3f882
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def __init__(self, robot_name: str, robot_description="robot_description"):
self.__urdf_file_path = self.__config_dir_path / (
self.__robot_name + ".urdf"
)
self.__srdf_filename = self.__config_dir_path / (
self.__srdf_file_path = self.__config_dir_path / (
self.__robot_name + ".srdf"
)
else:
Expand All @@ -246,7 +246,7 @@ def __init__(self, robot_name: str, robot_description="robot_description"):
"relative_path"
]
)
self.__srdf_filename = Path(
self.__srdf_file_path = Path(
setup_assistant_yaml["moveit_setup_assistant_config"]["SRDF"][
"relative_path"
]
Expand Down Expand Up @@ -283,7 +283,7 @@ def robot_description_semantic(
self.__moveit_configs.robot_description_semantic = {
self.__robot_description
+ "_semantic": load_xacro(
self._package_path / (file_path or self.__srdf_filename),
self._package_path / (file_path or self.__srdf_file_path),
mappings=mappings,
)
}
Expand Down

0 comments on commit 0f3f882

Please sign in to comment.