Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mqcmd196 committed Oct 22, 2023
1 parent a54c12c commit 2c1e84f
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,15 @@ def __init__(self):
)
self._melodic_move_group_action = imp.load_source(
"MoveGroupAction",
"/opt/ros/melodic/lib/python2.7/dist-package/moveit_msgs/msg/_MoveGroupAction.py",
"/opt/ros/melodic/lib/python2.7/dist-packages/moveit_msgs/msg/_MoveGroupAction.py",
)
self._melodic_move_group_goal = imp.load_source(
"MoveGroupGoal",
"/opt/ros/melodic/lib/python2.7/dist-package/moveit_msgs/msg/_MoveGroupGoal.py",
)
self._melodic_move_group_status = imp.load_source(
"MoveGroupStatus",
"/opt/ros/melodic/lib/python2.7/dist-package/moveit_msgs/msg/_MoveGroupStatus.py",
"/opt/ros/melodic/lib/python2.7/dist-packages/moveit_msgs/msg/_MoveGroupGoal.py",
)
self._melodic_move_group_result = imp.load_source(
"MoveGroupResult",
"/opt/ros/melodic/lib/python2.7/dist-package/moveit_msgs/msg/_MoveGroupResult.py",
"/opt/ros/melodic/lib/python2.7/dist-packages/moveit_msgs/msg/_MoveGroupResult.py",
)

# Service bridge
Expand Down Expand Up @@ -226,8 +222,9 @@ def __init__(self):
"/move_group_noetic",
MoveGroupAction,
execute_cb=self._move_group_action_cb,
auto_start=True,
auto_start=False,
)
self.move_group_as.start()
self.move_group_ac = actionlib.SimpleActionClient(
"/move_group", self._melodic_move_group_action.MoveGroupAction
)
Expand All @@ -238,7 +235,6 @@ def __init__(self):
PlanningSceneWorld,
self._planning_scene_world_cb,
)

self.planning_scene_world_pub = rospy.Publisher(
"/planning_scene_world",
self._melodic_planning_scene_world.PlanningSceneWorld,
Expand Down

0 comments on commit 2c1e84f

Please sign in to comment.