From ffee0825e716a7925cdc6aeafff5086a74cfa0c4 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 25 Jul 2023 00:27:40 -0700 Subject: [PATCH] revert --- selfdrive/navd/navd.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/selfdrive/navd/navd.py b/selfdrive/navd/navd.py index cc95dca43f..f965bc3a3b 100755 --- a/selfdrive/navd/navd.py +++ b/selfdrive/navd/navd.py @@ -212,7 +212,6 @@ class RouteEngine: if self.step_idx is None: msg.valid = False - print(msg) self.pm.send('navInstruction', msg) return @@ -267,7 +266,6 @@ class RouteEngine: elif step['speedLimitSign'] == 'vienna': msg.navInstruction.speedLimitSign = log.NavInstruction.SpeedLimitSign.vienna - print(msg) self.pm.send('navInstruction', msg) # Transition to next route segment @@ -277,12 +275,11 @@ class RouteEngine: self.reset_recompute_limits() else: cloudlog.warning("Destination reached") + Params().remove("NavDestination") # Clear route if driving away from destination dist = self.nav_destination.distance_to(self.last_position) if dist > REROUTE_DISTANCE: - Params().remove("NavDestination") - print('destination reached! clearing route!') self.clear_route() def send_route(self):