animated frames do not match the same frames when plotted

オープン
#171 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
42/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python

調査の方向性

Open the linked animate_start_to_end.ipynb.json notebook and reproduce the SE3 animation using the reported poses. Then inspect the animate method to compare behavior with and without the start argument. Done means the animation begins at the supplied start pose and ends at the pose on which animate is called.

索引モデルが issue の本文から書いたものです。

説明

Hi,

first of all, I would like to express my appreciation for this great python package.

I did some experiments with SE3 objects and animations and found a behavior of the animate method that I can't explain.
If SE3 is animated without the start argument, everything works as expected. The same applies if you explicitly start at SE3(). However, if the start is an arbitrary pose, the animated frame does not start in the expected pose and does not end at the pose for which animate is called.

t = SE3([
    SE3(),
    SE3([-1,0,2]),  # start
    SE3.RPY([10, 5, -20], unit='deg') * SE3([1,2,1]), # end
])
t[0].plot(frame='0', color='black')
t[1].plot(frame='1', color='blue')
t[2].plot(frame='2', color='red')
t[2].animate(frame='2m', start=t[1], color='purple')    # frame does not move from t[1] to t[2] as I would expect
# t[2].animate(frame='2m', start=t[0], color='purple')  # ok, frame moves from t[0] to [2]
# t[2].animate(frame='2m', color='purple')              # ok, frame moves from origin to t[2]

I have also summarized the experiment in a jupyter notebook animate_start_to_end.ipynb.json (remove the json ending to open it as notebook).
Can you please check it and let me know if I am doing something wrong.

Best regards.

主要言語
Python
スター
641
フォーク
102
平均マージ
1日 18時間
マージ済み PR(30日)
4

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

rai-opensource/spatialmath-python のほかの issue

rai-opensource/spatialmath-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。