@@ -18,7 +18,8 @@ class FrankaCubeLiftPipelineCfg(AutoSimPipelineCfg):
1818 action_adapter : FrankaAbsAdapterCfg = FrankaAbsAdapterCfg ()
1919
2020 def __post_init__ (self ):
21- self .skills .lift .extra_cfg .lift_offset = 0.20
21+ self .skills .lift .extra_cfg .move_axis = "-z"
22+ self .skills .lift .extra_cfg .lift_offset = 0.30
2223
2324 self .occupancy_map .floor_prim_suffix = "Table"
2425
@@ -38,7 +39,8 @@ def load_env(self) -> ManagerBasedEnv:
3839 from isaaclab_tasks .utils import parse_env_cfg
3940
4041 env_cfg = parse_env_cfg (self ._task_name , device = "cuda:0" , num_envs = 1 , use_fabric = True )
41- env_cfg .terminations .time_out = None
42+ env_cfg .terminations = None
43+ env_cfg .scene .robot .spawn .rigid_props .disable_gravity = True
4244
4345 env = gym .make (self ._task_name , cfg = env_cfg ).unwrapped
4446 return env
@@ -54,8 +56,7 @@ def get_env_extra_info(self) -> EnvExtraInfo:
5456 ee_link_name = "panda_hand" ,
5557 object_reach_target_poses = {
5658 "cube" : [
57- # torch.tensor([0.0, 0.0, 0.1, 0.0, 1.0, 0.0, 0.0]),
58- torch .tensor ([0.0 , 0.0 , 0.15 , 0.0 , 1.0 , 0.0 , 0.0 ]),
59+ torch .tensor ([0.0 , 0.0 , 0.10 , 0.0 , 1.0 , 0.0 , 0.0 ]),
5960 ],
6061 },
6162 )
0 commit comments