45 @type robot_client: hironx_ros_bridge.hironx_client.HIRONX 50 self._robotclient.goInitial()
53 task_duration=7.0, do_wait=
True):
55 @see: AbstAcceptanceTest.set_joint_angles 57 print(
"== RTM; {} ==".format(msg_tasktitle))
58 self._robotclient.setJointAnglesOfGroup(
59 joint_group, joint_angles, task_duration, do_wait)
61 def set_pose(self, joint_group, position, rpy, msg_tasktitle,
62 task_duration=7.0, do_wait=
True, ref_frame_name=
None):
64 print(
"== RTM; {} ==".format(msg_tasktitle))
65 self._robotclient.setTargetPose(joint_group, position, rpy,
66 task_duration, ref_frame_name)
68 self._robotclient.waitInterpolationOfGroup(joint_group)
71 self, joint_group, dx=0, dy=0, dz=0, dr=0, dp=0, dw=0,
72 msg_tasktitle=
None, task_duration=7.0, do_wait=
True):
73 if joint_group == Constant.GRNAME_LEFT_ARM:
75 elif joint_group == Constant.GRNAME_RIGHT_ARM:
78 print(
"== RTM; {} ==".format(msg_tasktitle))
79 self._robotclient.setTargetPoseRelative(
80 joint_group, eef, dx, dy, dz, dr, dp, dw,
81 task_duration, do_wait)
def __init__(self, robot_client)
def set_pose_relative(self, joint_group, dx=0, dy=0, dz=0, dr=0, dp=0, dw=0, msg_tasktitle=None, task_duration=7.0, do_wait=True)
def set_joint_angles(self, joint_group, joint_angles, msg_tasktitle=None, task_duration=7.0, do_wait=True)
def set_pose(self, joint_group, position, rpy, msg_tasktitle, task_duration=7.0, do_wait=True, ref_frame_name=None)