Closed chhtz closed 5 years ago
Hi @chhtz
I think currently it's only possible to give one set of constraints per trajectory. You'd have to define an optimization problem for each trajectory with different constaints and concatenate these afterwards..
Thanks for the response. Not sure, how I would get smooth transitions between the sub-trajectories with your suggestion.
What I'm doing at the moment is manually calculating the segment-times (using computeTimeVelocityRamp
) and just do a linear optimization based on that. I'm sure, I'll overshoot near the transition points, but for now this is sufficient for me.
Is it possible to give individual
v_max
constraints per segment? I only found theaddMaximumMagnitudeConstraint
method, which sets a global constraint.