udacity/CarND-MPC-Project

connect success but car does not run

SQSFly opened this issue · 3 comments

Listening to port 4567
Connected!!!
2
42["telemetry",{"ptsx":[-32.16173,-43.49173,-61.09,-78.29172,-93.05002,-107.7717],"ptsy":[113.361,105.941,92.88499,78.73102,65.34102,50.57938],"psi_unity":4.120315,"psi":3.733667,"x":-40.62008,"y":108.7301,"steering_angle":0,"throttle":0,"speed":2.995219E-06}]
42["steer",{"steering_angle":0.0,"throttle":0.0}]

Have you solved the problem?

I have the same problem as yours.
"mpc_x"=[]
like this
Does anyone know how to solve this?

I guess I figure out why this problem happens.
Here the project you clone does not give the answer.
You can open the main.cpp to find the TODO LIST and fill your code in the blank.
When you complete the MPC project, the car can run as your code works.