old-commit-hash: 61b7527b95
commatwo_master
Harald Schafer 4 years ago
parent 5839e89174
commit 110605a723
  1. 2
      selfdrive/controls/lib/pathplanner.py
  2. 1
      selfdrive/test/longitudinal_maneuvers/plant.py

@ -60,7 +60,7 @@ class PathPlanner():
self.path_xyz = np.zeros((TRAJECTORY_SIZE,3)) self.path_xyz = np.zeros((TRAJECTORY_SIZE,3))
self.plan_yaw = np.zeros((TRAJECTORY_SIZE,)) self.plan_yaw = np.zeros((TRAJECTORY_SIZE,))
self.t_idxs = np.zeros((TRAJECTORY_SIZE,)) self.t_idxs = np.arange(TRAJECTORY_SIZE)
def setup_mpc(self): def setup_mpc(self):
self.libmpc = libmpc_py.libmpc self.libmpc = libmpc_py.libmpc

@ -115,7 +115,6 @@ class Plant():
Plant.logcan = messaging.pub_sock('can') Plant.logcan = messaging.pub_sock('can')
Plant.sendcan = messaging.sub_sock('sendcan') Plant.sendcan = messaging.sub_sock('sendcan')
Plant.model = messaging.pub_sock('model') Plant.model = messaging.pub_sock('model')
Plant.front_frame = messaging.pub_sock('frontFrame')
Plant.live_params = messaging.pub_sock('liveParameters') Plant.live_params = messaging.pub_sock('liveParameters')
Plant.live_location_kalman = messaging.pub_sock('liveLocationKalman') Plant.live_location_kalman = messaging.pub_sock('liveLocationKalman')
Plant.health = messaging.pub_sock('health') Plant.health = messaging.pub_sock('health')

Loading…
Cancel
Save