|
|
@ -113,7 +113,7 @@ class Plant: |
|
|
|
velocity.x[0] = float(self.speed) # always start at current speed |
|
|
|
velocity.x[0] = float(self.speed) # always start at current speed |
|
|
|
model.modelV2.velocity = velocity |
|
|
|
model.modelV2.velocity = velocity |
|
|
|
acceleration = log.XYZTData.new_message() |
|
|
|
acceleration = log.XYZTData.new_message() |
|
|
|
acceleration.x = [float(x + 0.1) for x in np.zeros_like(ModelConstants.T_IDXS)] |
|
|
|
acceleration.x = [float(x) for x in np.zeros_like(ModelConstants.T_IDXS)] |
|
|
|
model.modelV2.acceleration = acceleration |
|
|
|
model.modelV2.acceleration = acceleration |
|
|
|
model.modelV2.meta.disengagePredictions.gasPressProbs = [float(prob_throttle) for _ in range(6)] |
|
|
|
model.modelV2.meta.disengagePredictions.gasPressProbs = [float(prob_throttle) for _ in range(6)] |
|
|
|
|
|
|
|
|
|
|
|