File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
source/extensions/humanoid.tasks/humanoid/tasks/push_box Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -284,9 +284,9 @@ def _setup_scene(self):
284
284
elif camera_type == "CAMERA" :
285
285
self .camera = Camera (self .cfg .camera )
286
286
elif camera_type == "TILED_THIRD_PERSON_CAMERA" :
287
- self .camera = Camera (self .cfg .tiled_third_person_camera )
287
+ self .camera = TiledCamera (self .cfg .tiled_third_person_camera )
288
288
elif camera_type == "TILED_CAMERA" :
289
- self .camera = Camera (self .cfg .tiled_camera )
289
+ self .camera = TiledCamera (self .cfg .tiled_camera )
290
290
291
291
self .cabinet = Articulation (self .cfg .cabinet )
292
292
self .tomato_soup_can = RigidObject (self .cfg .tomato_soup_can )
@@ -306,7 +306,7 @@ def _setup_scene(self):
306
306
307
307
# after Hydra config support is available, we can set reolutions and camera type from the command line
308
308
if not self .state_only :
309
- self .scene .sensors ["camera " ] = self .camera
309
+ self .scene .sensors ["tiled_camera " ] = self .cfg . tiled_camera . class_type ( self . cfg . tiled_camera )
310
310
311
311
# add table
312
312
self .cfg .table .spawn .func (
You can’t perform that action at this time.
0 commit comments