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

Add info messages to pick and place routine #1004

Merged

Conversation

felixvd
Copy link
Contributor

@felixvd felixvd commented Jul 30, 2018

Description

The current pick and place pipeline silently assigns a default duration of an arbitrary (and long) 7 seconds to each action of the gripper. This PR adds a message alerting the user to this behavior, and prompts them to define an appropriate wait time for their own gripper. This helps them identify a problem which is otherwise not trivial to debug, due to the structure of the planning stages. Case in point: it was an issue in the official pick and place tutorial.

I suppose this should have been a PR on melodic-devel and cherry-picked to Kinetic. Let me know if anything needs changing.

Checklist

  • Required: Code is auto formatted using clang-format
  • Extended the tutorials / documentation, if necessary reference
  • Include a screenshot if changing a GUI
  • Optional: Created tests, which fail without this PR reference
  • Optional: Decide if this should be cherry-picked to other current ROS branches (Indigo, Jade, Kinetic)

The current behavior silently adds an arbitrary wait time to the pipeline. Users should define an appropriate wait time for their own gripper. This message helps them find the issue, which is otherwise not trivial to debug.
felixvd added a commit to felixvd/moveit_tutorials that referenced this pull request Jul 30, 2018
The [video in the Pick and Place tutorial](http://docs.ros.org/kinetic/api/moveit_tutorials/html/doc/pick_place/pick_place_tutorial.html) is 45 seconds long. For 28 of those 45 seconds, the robot is standing still. This is because a default wait time of 7 seconds is added after every opening and closing of the gripper. This change fixes that time to 0.5 s and makes the movement look smooth.

I also propose notifying the user about this behavior in [this PR](moveit/moveit#1004).
@davetcoleman davetcoleman merged commit 76058c3 into moveit:kinetic-devel Jul 31, 2018
davetcoleman pushed a commit that referenced this pull request Jul 31, 2018
* Add debug messages to pick and place routine

The current behavior silently adds an arbitrary wait time to the pipeline. Users should define an appropriate wait time for their own gripper. This message helps them find the issue, which is otherwise not trivial to debug.

* Apply clang-format

* Fix auto-formatting
@davetcoleman
Copy link
Member

cherry picked to melodic

mlautman pushed a commit to moveit/moveit_tutorials that referenced this pull request Aug 6, 2018
The [video in the Pick and Place tutorial](http://docs.ros.org/kinetic/api/moveit_tutorials/html/doc/pick_place/pick_place_tutorial.html) is 45 seconds long. For 28 of those 45 seconds, the robot is standing still. This is because a default wait time of 7 seconds is added after every opening and closing of the gripper. This change fixes that time to 0.5 s and makes the movement look smooth.

I also propose notifying the user about this behavior in [this PR](moveit/moveit#1004).
@v4hn
Copy link
Contributor

v4hn commented Aug 20, 2018

Thanks @felixvd !
I was annoyed by this behavior years ago, but apparently never added something here... 👍

mayman99 pushed a commit to mayman99/moveit that referenced this pull request Aug 25, 2018
* Add debug messages to pick and place routine

The current behavior silently adds an arbitrary wait time to the pipeline. Users should define an appropriate wait time for their own gripper. This message helps them find the issue, which is otherwise not trivial to debug.

* Apply clang-format

* Fix auto-formatting
@felixvd felixvd deleted the add-pick-place-debug-message branch December 18, 2018 02:10
pull bot pushed a commit to shadow-robot/moveit that referenced this pull request Sep 3, 2020
* Add debug messages to pick and place routine

The current behavior silently adds an arbitrary wait time to the pipeline. Users should define an appropriate wait time for their own gripper. This message helps them find the issue, which is otherwise not trivial to debug.

* Apply clang-format

* Fix auto-formatting
cohen39 pushed a commit to cohen39/pick_place_forked that referenced this pull request Oct 26, 2021
The [video in the Pick and Place tutorial](http://docs.ros.org/kinetic/api/moveit_tutorials/html/doc/pick_place/pick_place_tutorial.html) is 45 seconds long. For 28 of those 45 seconds, the robot is standing still. This is because a default wait time of 7 seconds is added after every opening and closing of the gripper. This change fixes that time to 0.5 s and makes the movement look smooth.

I also propose notifying the user about this behavior in [this PR](moveit/moveit#1004).
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

4 participants