You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue #30 I posted few days ago was closed as completed but I am afraid that I didn't get any answer.
Therefore I would like to bring it up again and will greatly appreciate if you would kindly reply to my questions!
Thank you!
When converting the quadratic form of the cost function into the QP standard form, there are terms $-2a_2\vec x_N\vec x_f, - 2a_3\dot {\vec x_N}\dot {\vec x_f},-2a_4z(\frac{T}{2})z_{mid}$ that make up the $q^T x$ term. But q_ vector in the code is set as 0. Why is it so?
a For the equality constraint of the velocity components, why do the components of A_eq_ that correspond to slack variables have -1 for both pos. and vel. slack variables?
2.b Why did you set the equality constraints B_eq_ for the velocity same as the ones for the position? I wonder if there shouldn't be matrices like velocity_terms_F that would include the components that correspond to velocity (1st, 3rd, 5th rows of $A^{i-j}B$) in init_acceleration_velocity_terms() function. Or are the constraints for position and velocity just assumed to be same?
2.c By the equation $(\textrm{position terms})\vec f - \vec x_i = -A^i \vec x_{mea} + (\textrm{position terms})\vec h_c$
and since \vec x_N is already inside the slack variables, why did you include target_pose_ on the right side of the equation?
2.d I don't understand why it's just mid_z for the last component in B_eq_ since $(\textrm{position terms Fz})\vec f - z(T/2) = z_{mid}$ seems to be wrong.
For the inequality constraint, shouldn't the code be like
Hello.
The issue #30 I posted few days ago was closed as completed but I am afraid that I didn't get any answer.
Therefore I would like to bring it up again and will greatly appreciate if you would kindly reply to my questions!
Thank you!
When converting the quadratic form of the cost function into the QP standard form, there are terms
$-2a_2\vec x_N\vec x_f, - 2a_3\dot {\vec x_N}\dot {\vec x_f},-2a_4z(\frac{T}{2})z_{mid}$ that make up the $q^T x$ term. But
q_
vector in the code is set as 0. Why is it so?a For the equality constraint of the velocity components, why do the components of
A_eq_
that correspond to slack variables have -1 for both pos. and vel. slack variables?Shouldn't it just be
A_eq_(3, nb_var_ - 3) = -1;
2.b Why did you set the equality constraints$A^{i-j}B$ ) in
B_eq_
for the velocity same as the ones for the position? I wonder if there shouldn't be matrices likevelocity_terms_F
that would include the components that correspond to velocity (1st, 3rd, 5th rows ofinit_acceleration_velocity_terms()
function. Or are the constraints for position and velocity just assumed to be same?2.c By the equation$(\textrm{position terms})\vec f - \vec x_i = -A^i \vec x_{mea} + (\textrm{position terms})\vec h_c$
and since \vec x_N is already inside the slack variables, why did you include
target_pose_
on the right side of the equation?2.d I don't understand why it's just$(\textrm{position terms Fz})\vec f - z(T/2) = z_{mid}$ seems to be wrong.
mid_z
for the last component inB_eq_
sinceThe text was updated successfully, but these errors were encountered: