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
[:self-collision-check] ignore links which do not have :faces #537
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to indent the let
block under the new when
(shouldn't need to concern about increasing the changed lines of the PR)
最低限 pqp-collision-check など、より上位の関数で対応しましょう。 |
da0b1d4
to
c72458b
Compare
レビューありがとうございます。 結局、 |
c72458b
to
a68fb6c
Compare
a68fb6c
to
e727966
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I think that the original fix (i.e. suppressing the warning message only on :self-colision-check
, not in higher level functions) was correct.
That is because there is no point in having messages such optical-frame model has no triangles
when checking for self-collision, but it would be nice to maintain these warning messages when e.g. checking for collisions between the optical frame
and gripper-link
.
It would also be a nice idea to change the text of the message, replacing PQP Error!
for something like PQP Warning!
and stating which link model does not have triangles.
rewrite this PR at #571
|
closed via #571 |
fetchで
:self-collision-check
を行った時に、PQP Error! EndModel() called on model with no triangles
というエラーが出ました。調べてみると、
(send *fetch* :head_camera_rgb_frame_lk)
などのように、:faces
がnilのbodyset-link
クラスのインスタンスに対しては、:make-pqpmodel
が出来ずにこのようなエラーメッセージが出るようです。このプルリクエストでは、
:faces
がnilでないリンク同士だけをpqpの:self-collision-check
の判定に使うようにしました。エラー例: