vego > min_speed

pull/30209/head
Yassine 2 years ago
parent 9ad2eb0e0d
commit 60c907178f
  1. 2
      selfdrive/controls/lib/lateral_planner.py

@ -21,7 +21,7 @@ class LateralPlanner:
self.velocity_xyz = np.zeros((TRAJECTORY_SIZE, 3)) self.velocity_xyz = np.zeros((TRAJECTORY_SIZE, 3))
self.v_plan = np.zeros((TRAJECTORY_SIZE,)) self.v_plan = np.zeros((TRAJECTORY_SIZE,))
self.x_sol = np.zeros((TRAJECTORY_SIZE, 4), dtype=np.float32) self.x_sol = np.zeros((TRAJECTORY_SIZE, 4), dtype=np.float32)
self.v_ego = 0.0 self.v_ego = MIN_SPEED
self.l_lane_change_prob = 0.0 self.l_lane_change_prob = 0.0
self.r_lane_change_prob = 0.0 self.r_lane_change_prob = 0.0

Loading…
Cancel
Save