Refactor record with add_frame (#468)

Co-authored-by: Simon Alibert <75076266+aliberts@users.noreply.github.com>
这个提交包含在:
Remi
2024-10-16 20:51:35 +02:00
提交者 GitHub
父节点 97b1feb0b3
当前提交 77478d50e5
共有 11 个文件被更改,包括 1232 次插入 和 705 次删除

查看文件

@ -127,6 +127,7 @@ def test_robot(tmpdir, request, robot_type, mock):
# TODO(rcadene): skipping image for now as it's challenging to assess equality between two consecutive frames
continue
assert torch.allclose(captured_observation[name], observation[name], atol=1)
assert captured_observation[name].shape == observation[name].shape
# Test send_action can run
robot.send_action(action["action"])