File tree Expand file tree Collapse file tree
dimos/robot/unitree_webrtc Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -263,9 +263,6 @@ def start(self):
263263
264264 self ._deploy_visualization ()
265265
266- if self .enable_perception :
267- self ._deploy_perception ()
268-
269266 if self .enable_joystick :
270267 self ._deploy_joystick ()
271268
@@ -282,6 +279,9 @@ def start(self):
282279 self ._deploy_camera ()
283280 self ._deploy_detection (self .nav .go_to )
284281
282+ if self .enable_perception :
283+ self ._deploy_perception ()
284+
285285 self .lcm .start ()
286286
287287 # Setup agent with G1 skills
@@ -386,7 +386,7 @@ def _deploy_perception(self):
386386 output_dir = self .spatial_memory_dir ,
387387 )
388388
389- self .spatial_memory_module .video . transport = core . LCMTransport ( "/ image" , Image )
389+ self .spatial_memory_module .color_image . connect ( self . camera . image )
390390 self .spatial_memory_module .odom .transport = core .LCMTransport ("/odom" , PoseStamped )
391391
392392 logger .info ("Spatial memory module deployed and connected" )
You can’t perform that action at this time.
0 commit comments