File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ def base_quat(obs_cache):
322322 for arm in self .arms :
323323
324324 @sensor (modality = modality )
325- def base_to_eef_pos (obs_cache ):
325+ def base_to_eef_pos (obs_cache , arm = arm ):
326326 eef_pos = np .array (self .sim .data .site_xpos [self .eef_site_id [arm ]])
327327 base_pos = np .array (
328328 self .sim .data .site_xpos [self .sim .model .site_name2id (self .robot_model .base .correct_naming ("center" ))]
@@ -339,7 +339,7 @@ def base_to_eef_pos(obs_cache):
339339 return base_to_eef_pos
340340
341341 @sensor (modality = modality )
342- def base_to_eef_quat (obs_cache ):
342+ def base_to_eef_quat (obs_cache , arm = arm ):
343343 """
344344 Args:
345345 obs_cache (dict): A dictionary containing cached observations.
@@ -376,7 +376,7 @@ def base_to_eef_quat(obs_cache):
376376 return T .mat2quat (base_to_eef_mat )
377377
378378 @sensor (modality = modality )
379- def base_to_eef_quat_site (obs_cache ):
379+ def base_to_eef_quat_site (obs_cache , arm = arm ):
380380 """
381381 Args:
382382 obs_cache (dict): A dictionary containing cached observations.
You can’t perform that action at this time.
0 commit comments