cmm-21 / a2

Assignment 2 - Kinematic walking controller
5 stars 0 forks source link

locomotion.exe closed as long as I hit the play button #4

Closed breadli428 closed 3 years ago

breadli428 commented 3 years ago

Hi,

I am trying to verify my code for task 2.2, however the locomotion.exe will be immediately closed as long as I hit the play button. It seems to be a sign that my coding is somehow wrong, but I am not sure the reason behind.

Is there a way to test task 2.1 and 2.2 separately?

Plus, the ground and the feet of the robot do not align, and this it not an individual case.

Thanks!

eastskykang commented 3 years ago

@breadli428

please see #6 issue for feet-under-the-ground.

If the app crashes, please change your cmake mode into Debug (you can do this as follows)

Screenshot from 2021-03-19 13-53-54

and click the "launch debugger" (the button with "a bug" shaped icon). This will give you more rich information. (it will stop at the point where the code crashes)

I suggest you to print your Jacobian matrix by std::cout and see if there's something wrong or not.