Repository navigation
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Thank you for your interest in SMTB, and for tracking this one down. The double application of the start pose in One suggestion on the test, which isn't a blocker: it currently passes even if the I've approved this. Merging is up to the RAI maintainers, so it may take a little while. Thanks again for the contribution! |
|
A quick note on the failing The docs build itself completes. It fails on its final step, which tries to push the built docs to The fix is already open as #222, which stops the docs job running on pull requests at all. It's waiting on review by the RAI maintainers. Once that merges, the check will go away, and refreshing this PR (for example with "Update branch") will pick up the fix. There's nothing you need to change on your side. |
Refactor test_animate_nonidentity_start to improve axis geometry validation and streamline assertions.
|
Thanks Peter, and thanks for checking it against a static trplot and for the note on the sphinx check. I've pushed a stronger test along the lines you suggested. It compares the Animate frame's axis artists with a static trplot, once straight after |
Fixes #171.
Animate.trplotbuilt the frame geometry already placed at the requested start pose. The animation then applied the absolute pose again when drawing, so the frame showed up at the wrong place: asking for a start of(-1, 0, 2)displayed it at(-2, 0, 4).The geometry is now built at the identity and the start pose is applied once through
_draw(self.start), which matches how the end pose and the intermediate frames are already drawn.Test: added a case to
tests/base/test_transforms3d_plot.pythat checks the drawn frame at the start and end poses for the line, arrow and rviz styles. It fails onmasterand passes with this change. Full suite: 348 passed, 3 skipped. The interactive animation loop itself is not exercised in the headless tests; the endpoint poses are.