@@ -79,15 +79,6 @@ class CrackerBox(LibraryObject):
7979 tags = ["object" ]
8080 usd_path = f"{ ISAAC_NUCLEUS_DIR } /Props/YCB/Axis_Aligned_Physics/003_cracker_box.usd"
8181
82- def __init__ (
83- self ,
84- instance_name : str | None = None ,
85- prim_path : str | None = None ,
86- initial_pose : Pose | None = None ,
87- scale : tuple [float , float , float ] | None = None ,
88- ):
89- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
90-
9182
9283@register_asset
9384class MustardBottle (LibraryObject ):
@@ -99,15 +90,6 @@ class MustardBottle(LibraryObject):
9990 tags = ["object" ]
10091 usd_path = f"{ ISAAC_NUCLEUS_DIR } /Props/YCB/Axis_Aligned_Physics/006_mustard_bottle.usd"
10192
102- def __init__ (
103- self ,
104- instance_name : str | None = None ,
105- prim_path : str | None = None ,
106- initial_pose : Pose | None = None ,
107- scale : tuple [float , float , float ] | None = None ,
108- ):
109- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
110-
11193
11294@register_asset
11395class SugarBox (LibraryObject ):
@@ -119,15 +101,6 @@ class SugarBox(LibraryObject):
119101 tags = ["object" ]
120102 usd_path = f"{ ISAAC_NUCLEUS_DIR } /Props/YCB/Axis_Aligned_Physics/004_sugar_box.usd"
121103
122- def __init__ (
123- self ,
124- instance_name : str | None = None ,
125- prim_path : str | None = None ,
126- initial_pose : Pose | None = None ,
127- scale : tuple [float , float , float ] | None = None ,
128- ):
129- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
130-
131104
132105@register_asset
133106class TomatoSoupCan (LibraryObject ):
@@ -139,15 +112,6 @@ class TomatoSoupCan(LibraryObject):
139112 tags = ["object" ]
140113 usd_path = f"{ ISAAC_NUCLEUS_DIR } /Props/YCB/Axis_Aligned_Physics/005_tomato_soup_can.usd"
141114
142- def __init__ (
143- self ,
144- instance_name : str | None = None ,
145- prim_path : str | None = None ,
146- initial_pose : Pose | None = None ,
147- scale : tuple [float , float , float ] | None = None ,
148- ):
149- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
150-
151115
152116@register_asset
153117class PowerDrill (LibraryObject ):
@@ -159,15 +123,6 @@ class PowerDrill(LibraryObject):
159123 tags = ["object" ]
160124 usd_path = f"{ ISAACLAB_NUCLEUS_DIR } /Arena/assets/object_library/power_drill_physics/power_drill_physics.usd"
161125
162- def __init__ (
163- self ,
164- instance_name : str | None = None ,
165- prim_path : str | None = None ,
166- initial_pose : Pose | None = None ,
167- scale : tuple [float , float , float ] | None = None ,
168- ):
169- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
170-
171126
172127@register_asset
173128class Microwave (LibraryObject , Openable ):
@@ -266,15 +221,6 @@ class OfficeTable(LibraryObject):
266221 usd_path = f"{ ISAACLAB_NUCLEUS_DIR } /Mimic/nut_pour_task/nut_pour_assets/table.usd"
267222 scale = (1.0 , 1.0 , 0.7 )
268223
269- def __init__ (
270- self ,
271- instance_name : str | None = None ,
272- prim_path : str | None = None ,
273- initial_pose : Pose | None = None ,
274- scale : tuple [float , float , float ] | None = None ,
275- ):
276- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
277-
278224
279225@register_asset
280226class BlueSortingBin (LibraryObject ):
@@ -287,15 +233,6 @@ class BlueSortingBin(LibraryObject):
287233 usd_path = f"{ ISAACLAB_NUCLEUS_DIR } /Mimic/exhaust_pipe_task/exhaust_pipe_assets/blue_sorting_bin.usd"
288234 scale = (4.0 , 2.0 , 1.0 )
289235
290- def __init__ (
291- self ,
292- instance_name : str | None = None ,
293- prim_path : str | None = None ,
294- initial_pose : Pose | None = None ,
295- scale : tuple [float , float , float ] | None = None ,
296- ):
297- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
298-
299236
300237@register_asset
301238class BlueExhaustPipe (LibraryObject ):
@@ -308,15 +245,6 @@ class BlueExhaustPipe(LibraryObject):
308245 usd_path = f"{ ISAACLAB_NUCLEUS_DIR } /Mimic/exhaust_pipe_task/exhaust_pipe_assets/blue_exhaust_pipe.usd"
309246 scale = (0.55 , 0.55 , 1.4 )
310247
311- def __init__ (
312- self ,
313- instance_name : str | None = None ,
314- prim_path : str | None = None ,
315- initial_pose : Pose | None = None ,
316- scale : tuple [float , float , float ] | None = None ,
317- ):
318- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
319-
320248
321249@register_asset
322250class BrownBox (LibraryObject ):
@@ -329,15 +257,6 @@ class BrownBox(LibraryObject):
329257 usd_path = f"{ ISAACLAB_NUCLEUS_DIR } /Arena/assets/object_library/brown_box/brown_box.usd"
330258 scale = (1.0 , 1.0 , 1.0 )
331259
332- def __init__ (
333- self ,
334- instance_name : str | None = None ,
335- prim_path : str | None = None ,
336- initial_pose : Pose | None = None ,
337- scale : tuple [float , float , float ] | None = None ,
338- ):
339- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
340-
341260
342261@register_asset
343262class Mug (LibraryObject , Placeable ):
@@ -348,7 +267,6 @@ class Mug(LibraryObject, Placeable):
348267 name = "mug"
349268 tags = ["object" ]
350269 usd_path = f"{ ISAACLAB_NUCLEUS_DIR } /Objects/Mug/mug.usd"
351- object_type = ObjectType .RIGID
352270 scale = (1.0 , 1.0 , 1.0 )
353271
354272 # Placeable affordance parameters
@@ -415,7 +333,6 @@ class Sphere(LibraryObject):
415333
416334 name = "sphere"
417335 tags = ["object" ]
418- object_type = ObjectType .RIGID
419336 scale = (1.0 , 1.0 , 1.0 )
420337 default_spawner_cfg = sim_utils .SphereCfg (
421338 radius = 0.1 ,
@@ -533,16 +450,6 @@ class DexCube(LibraryObject):
533450 tags = ["object" ]
534451 usd_path = f"{ ISAAC_NUCLEUS_DIR } /Props/Blocks/DexCube/dex_cube_instanceable.usd"
535452 scale = (0.8 , 0.8 , 0.8 )
536- object_type = ObjectType .RIGID
537-
538- def __init__ (
539- self ,
540- instance_name : str | None = None ,
541- prim_path : str | None = None ,
542- initial_pose : Pose | None = None ,
543- scale : tuple [float , float , float ] | None = None ,
544- ):
545- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
546453
547454
548455@register_asset
@@ -680,16 +587,6 @@ class Broccoli(LibraryObject):
680587 name = "broccoli"
681588 tags = ["object" , "vegetable" , "graspable" ]
682589 usd_path = LightwheelLazyPath (registry_type = "objects" , registry_name = ["broccoli" ], file_type = "USD" )
683- object_type = ObjectType .RIGID
684-
685- def __init__ (
686- self ,
687- instance_name : str | None = None ,
688- prim_path : str | None = None ,
689- initial_pose : Pose | None = None ,
690- scale : tuple [float , float , float ] | None = None ,
691- ):
692- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
693590
694591
695592@register_asset
@@ -701,18 +598,8 @@ class SweetPotato(LibraryObject):
701598 name = "sweet_potato"
702599 tags = ["object" , "vegetable" , "graspable" ]
703600 usd_path = LightwheelLazyPath (registry_type = "objects" , file_name = "SweetPotato005" , file_type = "USD" )
704- object_type = ObjectType .RIGID
705601 scale = (1.5 , 1.5 , 1.5 )
706602
707- def __init__ (
708- self ,
709- instance_name : str | None = None ,
710- prim_path : str | None = None ,
711- initial_pose : Pose | None = None ,
712- scale : tuple [float , float , float ] | None = None ,
713- ):
714- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
715-
716603
717604@register_asset
718605class Jug (LibraryObject ):
@@ -723,18 +610,8 @@ class Jug(LibraryObject):
723610 name = "jug"
724611 tags = ["object" , "graspable" ]
725612 usd_path = LightwheelLazyPath (registry_type = "objects" , file_name = "Jug005" , file_type = "USD" )
726- object_type = ObjectType .RIGID
727613 scale = (2.0 , 2.0 , 2.0 )
728614
729- def __init__ (
730- self ,
731- instance_name : str | None = None ,
732- prim_path : str | None = None ,
733- initial_pose : Pose | None = None ,
734- scale : tuple [float , float , float ] | None = None ,
735- ):
736- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
737-
738615
739616@register_asset
740617class BeerBottle (LibraryObject ):
@@ -745,18 +622,8 @@ class BeerBottle(LibraryObject):
745622 name = "beer_bottle"
746623 tags = ["object" , "graspable" ]
747624 usd_path = LightwheelLazyPath (registry_type = "objects" , file_name = "beer016" , file_type = "USD" )
748- object_type = ObjectType .RIGID
749625 scale = (1.2 , 1.2 , 1.2 )
750626
751- def __init__ (
752- self ,
753- instance_name : str | None = None ,
754- prim_path : str | None = None ,
755- initial_pose : Pose | None = None ,
756- scale : tuple [float , float , float ] | None = None ,
757- ):
758- super ().__init__ (instance_name = instance_name , prim_path = prim_path , initial_pose = initial_pose , scale = scale )
759-
760627
761628@register_asset
762629class RedCube (LibraryObject ):
@@ -769,18 +636,8 @@ class RedCube(LibraryObject):
769636
770637 usd_path = f"{ ISAAC_NUCLEUS_DIR } /Props/Blocks/red_block.usd"
771638
772- object_type = ObjectType .RIGID
773- default_prim_path = "{ENV_REGEX_NS}/RedCube"
774639 scale = (0.02 , 0.02 , 0.02 )
775640
776- def __init__ (
777- self ,
778- prim_path : str | None = None ,
779- initial_pose : Pose | None = None ,
780- scale : tuple [float , float , float ] | None = None ,
781- ):
782- super ().__init__ (prim_path = prim_path , initial_pose = initial_pose , scale = scale )
783-
784641
785642@register_asset
786643class GreenCube (LibraryObject ):
@@ -792,18 +649,8 @@ class GreenCube(LibraryObject):
792649 tags = ["object" ]
793650
794651 usd_path = f"{ ISAAC_NUCLEUS_DIR } /Props/Blocks/green_block.usd"
795- object_type = ObjectType .RIGID
796- default_prim_path = "{ENV_REGEX_NS}/GreenCube"
797652 scale = (0.02 , 0.02 , 0.02 )
798653
799- def __init__ (
800- self ,
801- prim_path : str | None = None ,
802- initial_pose : Pose | None = None ,
803- scale : tuple [float , float , float ] | None = None ,
804- ):
805- super ().__init__ (prim_path = prim_path , initial_pose = initial_pose , scale = scale )
806-
807654
808655@register_asset
809656class RedContainer (LibraryObject ):
@@ -814,18 +661,8 @@ class RedContainer(LibraryObject):
814661 name = "red_container"
815662 tags = ["object" ]
816663 usd_path = f"{ ISAACLAB_NUCLEUS_DIR } /Arena/assets/object_library/isaac_container/container_h20_red.usd"
817- object_type = ObjectType .RIGID
818- default_prim_path = "{ENV_REGEX_NS}/red_container"
819664 scale = (0.5 , 0.5 , 0.5 )
820665
821- def __init__ (
822- self ,
823- prim_path : str | None = None ,
824- initial_pose : Pose | None = None ,
825- scale : tuple [float , float , float ] | None = None ,
826- ):
827- super ().__init__ (prim_path = prim_path , initial_pose = initial_pose , scale = scale )
828-
829666
830667@register_asset
831668class GreenContainer (LibraryObject ):
@@ -836,17 +673,16 @@ class GreenContainer(LibraryObject):
836673 name = "green_container"
837674 tags = ["object" ]
838675 usd_path = f"{ ISAACLAB_NUCLEUS_DIR } /Arena/assets/object_library/isaac_container/container_h20_green.usd"
839- object_type = ObjectType .RIGID
840- default_prim_path = "{ENV_REGEX_NS}/green_container"
841676 scale = (0.5 , 0.5 , 0.5 )
842677
843- def __init__ (
844- self ,
845- prim_path : str | None = None ,
846- initial_pose : Pose | None = None ,
847- scale : tuple [float , float , float ] | None = None ,
848- ):
849- super ().__init__ (prim_path = prim_path , initial_pose = initial_pose , scale = scale )
678+
679+ @register_asset
680+ class PurpleCrate (LibraryObject ):
681+ """A purple KLT container."""
682+
683+ name = "purple_crate"
684+ tags = ["object" , "container" ]
685+ usd_path = f"{ ISAAC_NUCLEUS_DIR } /Props/KLT_Bin/small_KLT.usd"
850686
851687
852688@register_asset
0 commit comments