Closed yunxiaoshan closed 7 years ago
What OS are you running this? Have you installed all dependencies correctly without errors on your OS? See dependencies section of https://github.com/udacity/CarND-Path-Planning-Project/blob/master/README.md
-now I manually install all the dependencies, and re-organize the code in QT. now, it shows that
/home/usi/qt_project/high_way_path_planning_v1/src/main.cpp:254: error: no matching function for call to ‘uWS::Hub::onMessage(main()::<lambda(uWS::WebSocket<true>, char*, size_t, uWS::OpCode)>)’ }); ^
and also the .onconnection has the same error.
So, what is the possible reason for that?
I found the problem, now it could build successfully. It should be caused by the update of the uWebSocket, I just change the h.onMessage([&pathConverter,&just_starting](uWS::WebSocket<uWS::SERVER> ws, char *data, size_t length, uWS::OpCode opCode)
to
h.onMessage([&pathConverter,&just_starting](uWS::WebSocket<uWS::SERVER>* ws, char *data, size_t length, uWS::OpCode opCode)
. Now uWS::WebSocket<uWS::SERVER>
only support pointer definition. And also other problems.
@yunxiaoshan thanks for sharing the solution! you might also be interested in running this https://github.com/mithi/bosch-challenge
H Hi, It seems the term 3 simulator does not match the File in Bosch, any tips for that? Best Shan
On 2017年10月13日周五 下午8:43 Mithi Sevilla notifications@github.com wrote:
@yunxiaoshan https://github.com/yunxiaoshan thanks for sharing the solution! you might also be interested in running this https://github.com/mithi/bosch-challenge
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/mithi/highway-path-planning/issues/1#issuecomment-336442048, or mute the thread https://github.com/notifications/unsubscribe-auth/AQsH9lnaIX6BWdq4Cz1iWn0rGW7f_Ef_ks5sr1r9gaJpZM4P2esl .
@yunxiaoshan
Here's the Bosch simulator: https://github.com/udacity/Bosch-Challenge/releases
As the title, what is the possible reason for that?