Obstacle avoidance Python solver status 2 and 4

Hey @FreyJo ,

I actually tried storing each iterate with a 0 return status and then load it the next iterate, but it didn’t make any noticeable improvements.
I then tried initializing X at each iterate (with the current status instead of zeros) the same way mentioned here Cost and linearization points - #6 by FreyJo . It did improve the performance a little (less crashes) but the errors persists.

  1. Could you please suggest a different way to initialize x, u and pi ?
  2. If the initialization of X is necessary for this OCP, does that mean that it would be better to include a path planner (for better x initialization)?

Thanks for your time :slightly_smiling_face: