fix env shaking at first step
这个提交包含在:
@ -83,10 +83,10 @@ class BimanualViperXEETask(base.Task):
|
|||||||
# (2) get env._physics.named.data.xpos['vx300s_left/gripper_link']
|
# (2) get env._physics.named.data.xpos['vx300s_left/gripper_link']
|
||||||
# get env._physics.named.data.xquat['vx300s_left/gripper_link']
|
# get env._physics.named.data.xquat['vx300s_left/gripper_link']
|
||||||
# repeat the same for right side
|
# repeat the same for right side
|
||||||
np.copyto(physics.data.mocap_pos[0], [-0.31718881, 0.5, 0.29525084])
|
np.copyto(physics.data.mocap_pos[0], [-0.31718881+0.1, 0.5, 0.29525084])
|
||||||
np.copyto(physics.data.mocap_quat[0], [1, 0, 0, 0])
|
np.copyto(physics.data.mocap_quat[0], [1, 0, 0, 0])
|
||||||
# right
|
# right
|
||||||
np.copyto(physics.data.mocap_pos[1], np.array([0.31718881, 0.49999888, 0.29525084]))
|
np.copyto(physics.data.mocap_pos[1], np.array([0.31718881-0.1, 0.49999888, 0.29525084]))
|
||||||
np.copyto(physics.data.mocap_quat[1], [1, 0, 0, 0])
|
np.copyto(physics.data.mocap_quat[1], [1, 0, 0, 0])
|
||||||
|
|
||||||
# reset gripper control
|
# reset gripper control
|
||||||
|
|||||||
在新工单中引用
屏蔽一个用户