-
Notifications
You must be signed in to change notification settings - Fork 97
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
add interpolation in :angle-vector-raw #849
add interpolation in :angle-vector-raw #849
Conversation
(incf i (send j :joint-dof))) | ||
add-new-trajectory-point)) | ||
(:angle-vector-raw (av &optional (tm 3000) &rest args) | ||
(when (send self :check-continuous-joint-move-over-180 diff-av) |
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.
diff-av
が定義されていないと言われます。
diff-av
を(v- av (send robot :angle-vector))
のようにするのが正しいでしょうか。
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.
ありがとう.直してみました.
293d26a
to
0f234ca
Compare
(let* (avs (minjerk (instance minjerk-interpolator :init)) | ||
(scale-av (send self :sub-angle-vector av prev-av)) | ||
dist div) | ||
(setq dist (abs (geo::find-extream (coerce diff-av cons) #'abs #'>=))) |
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.
ここのdiff-av
も(v- av prev-av)
だと思います。さっきかくの忘れてました。
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.
そうですね.こんどこそ.
0f234ca
to
0d86e2b
Compare
角度が180度を超えたら云々というのは、 |
diff-avが大きくなる理由が #841 (comment) だという理解です. |
ありがとうございます |
@708yamaguchi これでマージして大丈夫かな?確認してみてください. |
実機で試したのですが、
|
なるほど. |
jsk-ros-pkg/jsk_pr2eus#323
としたところ、 |
Fixes #839
rewrited versoin of #841
fetch interface have problems on trajectory interpolation after cancel , (maybe) when the original trajectory goes over 180 degree ( ZebraDevs/robot_controllers#33 )
This PR fixes by sending interpolated angle-vector-sequence within :angle-vector-raw