-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[on #720] add new package to use osqp from euslisp (sqp with hotstart and sparce matrix are enabled) #743
base: master
Are you sure you want to change the base?
Conversation
something wrong with indigo https://github.com/jsk-ros-pkg/jsk_control/pull/743/checks?check_run_id=2555776920
|
@tongtybj ここでも osqp が使われています. |
osqpを https://github.com/JSKAerialRobot/aerial_robot_3rdparty/tree/master/3rdparty/osqp からjsk_controlに移していただけるのは助かります。 以前 https://github.com/JSKAerialRobot/aerial_robot_3rdparty/tree/master/3rdparty/osqp を見て、便利だから使いたいなと思ったのですが、aerial_robot_3rdparty 内にあるosqpeigenがいらなかった(本家の最新版のosqpeigenはcatkinに対応しているので名前が干渉する)のと、 nloptがjsk_3rdpartyのものと名前が干渉しそうな気がしたのとで、aerial_robot_3rdpartyからosqpだけコピペして使わせていただいていました。 https://github.com/Naoki-Hiraoka/qp_solvers/tree/master/osqp 自分はosqpを、
で使っています. |
I have created a PR to merge OSQP in jsk_3rdparty: jsk-ros-pkg/jsk_3rdparty#442 @Naoki-Hiraoka |
適切なcitationかはわからないのですが、
の4.1節の計算を、
の方法で行っています。 |
OSQPをeuslispから使うpackageです.
#720
に加えて,
hotstartによる高速化
sparce matrixの性質を利用することによる高速化
を可能にしました.
euslispが疎行列の型をサポートしていないため,探索変数の数をn,制約の数をmとすると,少なくともo(n^2 + nm)の時間はかかります.
https://github.com/jsk-ros-pkg/jsk_control/blob/master/eus_qp/euslisp/test-contact-wrench-opt.l
https://github.com/jsk-ros-pkg/jsk_control/blob/master/eus_qp/euslisp/test-model-predictive-control.l
がOSQPで動くことを確認しテストを追加しました.