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

fixed REALTIME planned path trajectory playback #1683

Merged
merged 3 commits into from
Oct 13, 2019

Conversation

MarqRazz
Copy link
Contributor

@MarqRazz MarqRazz commented Oct 2, 2019

Description

When using the REALTIME mode to display the planned path the program would stop at the last or second to last waypoint and is unable to re-play the trajectory when using the trajectory slider plugin.

This pull request fixes the REALTIME playback mode to always finish playing the full trajectory and has the ability to properly pause and continue playback using the trajectory slider plugin.

Please let me know if you would like me to add any tests, features or changes.
Thanks,
-Marq

@welcome
Copy link

welcome bot commented Oct 2, 2019

Thanks for helping in improving MoveIt

Copy link
Member

@henningkayser henningkayser left a comment

Choose a reason for hiding this comment

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

Thanks a lot for your contribution! The fix works for me. I don't think we need any tests for this. I just noticed that the trajectory slider somehow doesn't work nicely together with "Loop Animation" enabled, but this is unrelated to this PR.

@MarqRazz
Copy link
Contributor Author

MarqRazz commented Oct 3, 2019

@henningkayser what problems are you seeing with loop animation enabled?

I just ran a few simple tests and don't see any issues. The tool was able to loop the entire animation and was also able to pickup looping when starting from any point in the trajectory. If I know what to look for I might have some time to fix it.

@henningkayser
Copy link
Member

@MarqRazz actually, I expected the TrajectorySlider to have the same behavior as the MotionPlanning slider (syncing to the loop), which obviously is not the case. So nothing to fix here ;)

@rhaschke rhaschke merged commit ebb5f28 into moveit:master Oct 13, 2019
@welcome
Copy link

welcome bot commented Oct 13, 2019

Congrats on getting your first MoveIt pull request merged and improving open source robotics!

henningkayser pushed a commit to PickNikRobotics/moveit that referenced this pull request Nov 21, 2019
v4hn pushed a commit to v4hn/moveit that referenced this pull request Mar 30, 2020
v4hn pushed a commit to v4hn/moveit that referenced this pull request Mar 31, 2020
v4hn pushed a commit to v4hn/moveit that referenced this pull request Mar 31, 2020
sjahr pushed a commit to sjahr/moveit that referenced this pull request Jun 21, 2024
* Add new error types (moveit_msgs moveit#146)

* Add default case

* Small change to the default case

Co-authored-by: Tyler Weaver <maybe@tylerjw.dev>

Co-authored-by: Tyler Weaver <maybe@tylerjw.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants