Skip to content

Commit

Permalink
cabinet, high five, elevator_button, cabinet_handles, cabinet_grasp_p…
Browse files Browse the repository at this point in the history
…ots, chair tasks
  • Loading branch information
MarkFzp committed Nov 30, 2023
1 parent a510e87 commit 1026657
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions aloha_scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,24 @@
'episode_len': 1500,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_cabinet':{
'dataset_dir': DATA_DIR + '/aloha_mobile_cabinet',
'num_episodes': 50,
'episode_len': 1500,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_high_five':{
'dataset_dir': DATA_DIR + '/aloha_mobile_high_five',
'num_episodes': 50,
'episode_len': 2000,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_elevator_button':{
'dataset_dir': DATA_DIR + '/aloha_mobile_elevator_button',
'num_episodes': 50,
'episode_len': 800,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_wipe_wine':{
'dataset_dir': DATA_DIR + '/aloha_mobile_wipe_wine',
'num_episodes': 50,
Expand Down Expand Up @@ -82,6 +100,24 @@
'num_episodes': 50,
'episode_len': 8500,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_cabinet_handles':{
'dataset_dir': DATA_DIR + '/aloha_mobile_cabinet_handles',
'num_episodes': 50,
'episode_len': 200,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_cabinet_grasp_pots':{
'dataset_dir': DATA_DIR + '/aloha_mobile_cabinet_grasp_pots',
'num_episodes': 50,
'episode_len': 200,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
},
'aloha_mobile_chair':{
'dataset_dir': DATA_DIR + '/aloha_mobile_chair',
'num_episodes': 50,
'episode_len': 2400,
'camera_names': ['cam_high', 'cam_left_wrist', 'cam_right_wrist']
}
}

Expand Down
2 changes: 1 addition & 1 deletion aloha_scripts/replay_and_record_episodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def main(args):
plt.plot(obs_tracer[:, 0], '-.', label='obs_tracer_linear')
plt.plot(obs_tracer[:, 1], '-.', label='obs_tracer_angular')
plt.legend()
plt.savefig('replay_and record_episodes_vel_debug.png', dpi=300)
plt.savefig('replay_and_record_episodes_vel_debug.png', dpi=300)


move_grippers([env.puppet_bot_left, env.puppet_bot_right], [PUPPET_GRIPPER_JOINT_OPEN] * 2, move_time=0.5) # open
Expand Down

0 comments on commit 1026657

Please sign in to comment.