File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -359,27 +359,22 @@ def on_telemetry(self, data):
359
359
self .roll = data ["roll" ]
360
360
self .pitch = data ["pitch" ]
361
361
self .yaw = data ["yaw" ]
362
- print (self .roll , self .pitch , self .yaw )
363
362
364
363
# Cross track error not always present.
365
364
# Will be missing if path is not setup in the given scene.
366
365
# It should be setup in the 4 scenes available now.
367
366
if "cte" in data :
368
367
self .cte = data ["cte" ]
369
368
369
+ if "lidar" in data :
370
+ self .lidar = data ["lidar" ]
371
+
370
372
# don't update hit once session over
371
373
if self .over :
372
374
return
373
375
374
376
self .hit = data ["hit" ]
375
377
376
- try :
377
- self .lidar = data ["lidar" ]
378
- # logger.info("reading lidar in telemetry package DONE.")
379
- except :
380
- pass
381
- # logger.info("reading lidar in telemetry package FAILED.")
382
-
383
378
self .determine_episode_over ()
384
379
385
380
def on_cross_start (self , data ):
You can’t perform that action at this time.
0 commit comments