control icon indicating copy to clipboard operation
control copied to clipboard

When I start simulator for MPC ,the code will show error .

Open xkk3599 opened this issue 5 years ago • 1 comments

xkk@xkk-Inspiron-5547:~/MPC-Project-master/build$ ./mpc Listening to port 4567 Connected!!! 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.12033,"psi":3.733651,"x":-40.62,"y":108.73,"steering_angle":0,"throttle":0,"speed":0}] Cost 2.37152e-322 cppad-20160000.1 error from a known source: vector: index greater than or equal vector size Error detected by false result for i < length_ at line 477 in the file /usr/include/cppad/utility/vector.hpp mpc: /usr/include/cppad/utility/error_handler.hpp:207: static void CppAD::ErrorHandler::Default(bool, int, const char*, const char*, const char*): Assertion `false' failed. 已放弃 (核心已转储)

xkk3599 avatar Aug 14 '19 04:08 xkk3599

I just tried on my laptop and it still works. I guess this could be a problem with ipopt since I have not used it since I finished the project and you may have the latest version.

zhujun98 avatar Aug 14 '19 21:08 zhujun98