Closed Sunshine352 closed 7 years ago
If no motion planning problem has been solved yet, this is indeed the case. A vehicle gets a 'trajectories' attribute after an initial motion problem is solved and is updated in subsequent motion updates.
The idea is to extract the trajectories from the Simulator or Deployer.
Hi, rubenvanparys. I carefully look at tutorial_example, no difference is found between the example and p2p_trailor (p2p_bicycle, p2p_dubins etc.). However, tutorial_example has no problems like "object has no attribute 'trajectories" . May you further describe in detail ?
Are you running the example scripts as they appear on the repository? Did you install the HSL linear solvers? Can you check if commenting out this line helps? If so, this means you don't have the ma57 solver (which is a bit faster than the default solver used by ipopt). I suspect this is the issue as tutorial_example is the only example that uses the default solver (which is installed if you have the casadi binary).
When I comment out the line mentioned above, no error appears. Therefore, the reason for this error is that I don't install HSL linear solvers. Thank you very much for your sparing time for my problem !
Trailor, Bicycle etc. object has no attribute 'trajectories'