MCPcopy Create free account
hub / github.com/RoboCodeX-source/RoboCodeX_code / reset

Method reset

franka_policy/src/grasp_executor.py:171–178  ·  view source on GitHub ↗

Reset the robot to the initial state and opens the gripper.

(self)

Source from the content-addressed store, hash-verified

169
170 @_block
171 def reset(self):
172 """Reset the robot to the initial state and opens the gripper."""
173 self.open_gripper()
174 self.group.set_joint_value_target(self.reset_pose)
175 self._go(self.group)
176 self.group.stop()
177 self.group.clear_pose_targets()
178 self.reset_scene()
179
180 @_block
181 def move_to_pose(self, position: List[float], orientation: List[float] = None):

Callers 11

graspMethod · 0.95
LoadMethod · 0.45
LoadMethod · 0.45
LoadMethod · 0.45
__init__Method · 0.45
reset_srv_cbMethod · 0.45
pc_callbackMethod · 0.45
__init__Method · 0.45
reset_srv_cbMethod · 0.45
img_callbackMethod · 0.45
grasp_executor.pyFile · 0.45

Calls 3

open_gripperMethod · 0.95
_goMethod · 0.95
reset_sceneMethod · 0.95

Tested by

no test coverage detected