|
|
|
@ -115,7 +115,7 @@ class PathPlanner(): |
|
|
|
|
(sm['carState'].steeringTorque < 0 and self.lane_change_direction == LaneChangeDirection.right)) |
|
|
|
|
|
|
|
|
|
blindspot_detected = ((sm['carState'].leftBlindspot and self.lane_change_direction == LaneChangeDirection.left) or |
|
|
|
|
(sm['carState'].leftBlindspot and self.lane_change_direction == LaneChangeDirection.left)) |
|
|
|
|
(sm['carState'].rightBlindspot and self.lane_change_direction == LaneChangeDirection.right)) |
|
|
|
|
|
|
|
|
|
lane_change_prob = self.LP.l_lane_change_prob + self.LP.r_lane_change_prob |
|
|
|
|
|
|
|
|
|