Trajot cannot converge #570
Replies: 3 comments
-
When I reduce collision_comstraint_comfig.safety_margin, it can converge. |
Beta Was this translation helpful? Give feedback.
-
I am not sure how familiar you are with SQP solvers so I may be providing more information than necessary. In the case of trajopt constraints are added with slack variables so QP solve will succeed and then the Trust Region implementation within TrajOpt increases the weight on these variables throughout the solve to slowly enforce the constraint. As a result if the weight * error of a cost is high it can compete with a constraint causing it to never solve. As a result, enabling velocity smoothing directly competes with the collision constraint. I usually disable velocity smoothing and only have acceleration and jerk smoothing enable. If this does not improve convergence, then I would also added the collision as a cost. This is usually my default setup on any trajopt motion planning solve. |
Beta Was this translation helpful? Give feedback.
-
Thank you. I have indeed made improvements after trying~ |
Beta Was this translation helpful? Give feedback.
-
Hello, I am using trajot to optimize the trajectory of a mobile robotic arm. The above image shows the running results and settings. Why can't it converge? Is there a problem with my settings? Could you please help me take a look~
The version of tesseract_planning and trajopt is 0.23.1.
Beta Was this translation helpful? Give feedback.
All reactions