You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this video a following code which is a modification from hironx_ros_bridge/test/test_hironx.py is used.
As commented inline, when robot.clear() is used, both arms reach the poses passed to setJointAnglesOfGroup, which is not what I expect.
RARM_HIGHEST = [-0.6, 0, -140, 15.2, 9.4, 3.2]
robot.goInitial(tm=2, init_pose_type=0)
#clear_time = [4.5, 4.0, 3.5, 3.0, 2.5, 2.0, 1.5, 1.0]
clear_time = [2.0, 1.5, 1.0]
for i in range(len(clear_time)):
robot.goInitial(tm=2, init_pose_type=0)
robot.setJointAnglesOfGroup("rarm", RARM_HIGHEST, 5, wait=False);
robot.waitInterpolationOfGroup("rarm")
robot.clearLog()
robot.setJointAnglesOfGroup("rarm", [-0.6, 0, -100, 15.2, 9.4, 3.2], 5, wait=False);
robot.waitInterpolationOfGroup("rarm")
robot.setJointAnglesOfGroup("rarm", RARM_HIGHEST, 5, wait=False);
robot.setJointAnglesOfGroup("larm", [-0.6, 0, -100, 15.2, 9.4, 3.2], clear_time[i], wait=True);# time.sleep(clear_time[i]);
robot.clearOfGroup("rarm") # Works as expected.
#robot.clear() # Does not work as expected; both arms reach the poses passed to `setJointAnglesOfGroup` above.
robot.waitInterpolationOfGroup("rarm")
Is something missing / am I wrong / else?
The text was updated successfully, but these errors were encountered:
In my understanding both HrpsysConfigurator.clear and HrpsysConfigurator.clearOfGroup cancels the commands that SequencePlayer is executing. However, I'm seeing
clear
does not work as expected whileclearOfGroup
does.See youtube video.
In this video a following code which is a modification from hironx_ros_bridge/test/test_hironx.py is used.
As commented inline, when
robot.clear()
is used, both arms reach the poses passed tosetJointAnglesOfGroup
, which is not what I expect.Is something missing / am I wrong / else?
The text was updated successfully, but these errors were encountered: