fix tests

old-commit-hash: 61b7527b95d7a573a8c11ff8c260a4f01cc15113
This commit is contained in:
Harald Schafer
2021-01-14 21:46:01 -08:00
parent 5839e89174
commit 110605a723
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ class PathPlanner():
self.path_xyz = np.zeros((TRAJECTORY_SIZE,3))
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):
self.libmpc = libmpc_py.libmpc
@@ -115,7 +115,6 @@ class Plant():
Plant.logcan = messaging.pub_sock('can')
Plant.sendcan = messaging.sub_sock('sendcan')
Plant.model = messaging.pub_sock('model')
Plant.front_frame = messaging.pub_sock('frontFrame')
Plant.live_params = messaging.pub_sock('liveParameters')
Plant.live_location_kalman = messaging.pub_sock('liveLocationKalman')
Plant.health = messaging.pub_sock('health')