animated frames do not match the same frames when plotted
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 42/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- computer-graphics
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 641
- Fork
- 102
- Merge medio
- 1g 18h
- PR unite (30g)
- 4
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di rai-opensource/spatialmath-python
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
rai-opensource/spatialmath-python#32 · 4 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 50/100
-
bug
rai-opensource/spatialmath-python#165 · 2 commenti · 1 assegnatario ·
-
Type-check spatialmath Aperta
rai-opensource/spatialmath-python#143 · 8 commenti · 1 assegnatario ·
-
under investigation
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
rai-opensource/spatialmath-python#78 · 2 commenti ·
Tutte le issue di rai-opensource/spatialmath-python
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
PolicyEngine/policyengine-us#9559 ·
-
priority: p3
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
googleapis/librarian#7636 ·
-
from:qa priority:P2 reliability tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
spec-kitty/spec-kitty#4874 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100