mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-06 08:56:02 +08:00
mapd: Remove more legacy implementation (#275)
* mapd: Remove more legacy implementation * bump cereal
This commit is contained in:
+1
-1
Submodule cereal updated: 4450066983...e99eb7bdd4
@@ -24,7 +24,6 @@ class LateralPlanner:
|
||||
self.v_ego = MIN_SPEED
|
||||
self.l_lane_change_prob = 0.0
|
||||
self.r_lane_change_prob = 0.0
|
||||
self.d_path_w_lines_xyz = np.zeros((TRAJECTORY_SIZE, 3))
|
||||
|
||||
self.debug_mode = debug
|
||||
|
||||
@@ -80,7 +79,4 @@ class LateralPlanner:
|
||||
lateralPlanSPDEPRECATED = plan_sp_send.lateralPlanSPDEPRECATED
|
||||
lateralPlanSPDEPRECATED.laneChangePrev = self.DH.prev_lane_change
|
||||
|
||||
lateralPlanSPDEPRECATED.dPathWLinesX = [float(x) for x in self.d_path_w_lines_xyz[:, 0]]
|
||||
lateralPlanSPDEPRECATED.dPathWLinesY = [float(y) for y in self.d_path_w_lines_xyz[:, 1]]
|
||||
|
||||
pm.send('lateralPlanSPDEPRECATED', plan_sp_send)
|
||||
|
||||
Reference in New Issue
Block a user