animated frames do not match the same frames when plotted
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- computer-graphics
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 641
- Forks
- 102
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 4
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from rai-opensource/spatialmath-python
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
rai-opensource/spatialmath-python#32 · 4 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 50/100
-
bug
rai-opensource/spatialmath-python#165 · 2 comments · 1 assignee ·
-
rai-opensource/spatialmath-python#143 · 8 comments · 1 assignee ·
-
under investigation
Difficulty 3/5 1-2 days Newbie friendliness 25/100
rai-opensource/spatialmath-python#78 · 2 comments ·
All issues in rai-opensource/spatialmath-python
Similar issues
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100