Skip to content
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

Fix/animation gui #625

Merged
merged 6 commits into from
Nov 22, 2024
Merged

Fix/animation gui #625

merged 6 commits into from
Nov 22, 2024

Conversation

confusedlama
Copy link
Contributor

Summary

Discarding the unrecorded data is expected behavior when changing frames. I have added a warning that reminds the user to record changes that would be discarded.

Related issues

#624

Checklist

  • run simulation and motion in background
  • start rqt
  • change frames without changing motor goals (no warning should be displayed)
  • change frames with changed motor goals (warning should be displayed)
  • change frames with newly recorded motor goals (warning should not be displayed)

@confusedlama confusedlama requested review from Flova and lvaddi November 20, 2024 18:32
@confusedlama confusedlama self-assigned this Nov 20, 2024
Copy link
Member

@Flova Flova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good.

I would have added a method to the recorder that checks if the values have changed for a given pair of frame and working values. But you approach is also totally valid.

I requested changes because of the failing formatting checks and the present debug prints.

@confusedlama confusedlama requested a review from Flova November 22, 2024 12:30
Copy link
Member

@Flova Flova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, but the ci seems to be broken. I would merge once it is fixed.

@jaagut jaagut merged commit 89c7035 into main Nov 22, 2024
2 checks passed
@jaagut jaagut deleted the fix/animation_gui branch November 22, 2024 22:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants