@@ -350,68 +350,3 @@ def __call__( # type: ignore
350350 }
351351
352352 return SimTaskEnvCreator ()("fr3_simple_pick_up" , render_mode , control_mode , delta_actions , cameras )
353-
354-
355- class FR3SimplePickUpSimDigitHandEnvCreator (EnvCreator ):
356- def __call__ ( # type: ignore
357- self ,
358- render_mode : str = "human" ,
359- control_mode : ControlMode = ControlMode .CARTESIAN_TRPY ,
360- resolution : tuple [int , int ] | None = None ,
361- frame_rate : int = 0 ,
362- delta_actions : bool = True ,
363- ) -> gym .Env :
364- if resolution is None :
365- resolution = (256 , 256 )
366-
367- cameras = {
368- "wrist" : SimCameraConfig (
369- identifier = "wrist_0" ,
370- type = CameraType .fixed ,
371- resolution_height = resolution [1 ],
372- resolution_width = resolution [0 ],
373- frame_rate = frame_rate ,
374- )
375- }
376-
377- return SimTaskEnvCreator ()("fr3_simple_pick_up_digit_hand" , render_mode , control_mode , delta_actions , cameras )
378-
379-
380- class FR3LabPickUpSimDigitHandEnvCreator (EnvCreator ):
381- def __call__ ( # type: ignore
382- self ,
383- cam_robot_joints : VecType ,
384- render_mode : str = "human" ,
385- control_mode : ControlMode = ControlMode .CARTESIAN_TRPY ,
386- resolution : tuple [int , int ] | None = None ,
387- frame_rate : int = 0 ,
388- delta_actions : bool = True ,
389- ) -> gym .Env :
390- if resolution is None :
391- resolution = (256 , 256 )
392-
393- cameras = {
394- "wrist" : SimCameraConfig (
395- identifier = "wrist_0" ,
396- type = CameraType .fixed ,
397- resolution_height = resolution [1 ],
398- resolution_width = resolution [0 ],
399- frame_rate = frame_rate ,
400- ),
401- "side" : SimCameraConfig (
402- identifier = "wrist_1" ,
403- type = CameraType .fixed ,
404- resolution_height = resolution [1 ],
405- resolution_width = resolution [0 ],
406- frame_rate = frame_rate ,
407- ),
408- }
409-
410- env_rel = SimTaskEnvCreator ()(
411- "lab_simple_pick_up_digit_hand" ,
412- render_mode ,
413- control_mode ,
414- delta_actions ,
415- cameras ,
416- )
417- return CamRobot (env_rel , cam_robot_joints , "lab_simple_pick_up_digit_hand" )
0 commit comments