-
Notifications
You must be signed in to change notification settings - Fork 938
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
Jog arm dimensions #1724
Jog arm dimensions #1724
Conversation
Thanks for helping in improving MoveIt |
moveit_experimental/moveit_jog_arm/srv/ChangeControlDimensions.srv
Outdated
Show resolved
Hide resolved
Cool, I've been wanting this feature for awhile. Another related feature would be to allow the arm to drift in specified dimensions. Useful for passing through a singularity if you don't care about, say, wrist rotation. But we can add that later, and your PR will make it easier, I think. |
moveit_experimental/moveit_jog_arm/srv/ChangeControlDimensions.srv
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The build error that Travis has turned up is:
fatal error: moveit_jog_arm/ChangeControlDimensions.h: No such file or directory
#include <moveit_jog_arm/ChangeControlDimensions.h>
Note that CI passes except for catkin_lint. The catkin_lint error is:
So it seems to be an issue with moveit_ros_planning_interface, not with Adam's changes. Related issue: #1536 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this locally and it works fine. The integration test still passes. I hope the catkin_lint issue from the other package doesn't hold this up from getting merged but I'm not sure how to resolve that issue.
A rebase should fix this, as #1737 was merged recently. |
19bcd6c
to
f305483
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's move the msgs out of here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move the service message into moveit_msgs
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have moved the service file to moveit_msgs, updated the tutorial, and made a PR for both.
@AdamPettinger, when merging with master, you removed some changes to the |
15d8a2a
to
a391809
Compare
Oops, sorry about that @rhaschke! Was confused... I rebased onto master, kept all the master changes, and moved some of the changes made for this PR into the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we can make this more realtime performant.
moveit_experimental/moveit_jog_arm/include/moveit_jog_arm/jog_arm_data.h
Outdated
Show resolved
Hide resolved
@davetcoleman @tylerjw @AndyZe @AdamPettinger @AdamPettinger could you please rebase this to master and fix the code formatting? Could we please get this merged to avoid yet another dead request lying around? |
82349d4
to
1551a2e
Compare
@v4hn Sorry about that, this fell off my radar recently. I rebased and ran the clang formatting suggestion from the CI error |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to go. @AdamPettinger @AndyZe correct?
If so, can we merge it?
It is ready to be merged as far as I am concerned! |
I rebased on master and tested locally. Still seems fine to me |
@rhaschke good to go? |
Let's give @rhaschke a day to contest, and if not let's merge. |
Congrats on getting your first MoveIt pull request merged and improving open source robotics! |
🎉 |
Added a service to change which directions jogging is allowed in
Added a service to change which directions jogging is allowed in
Added a service to change which directions jogging is allowed in
* Update for moveit PR #1724: Jog Arm Dimensions See more here: moveit/moveit#1724 * Fix dumb copy-paste formatting error
Description
Adds a feature to
moveit_jog_arm
to allow you to "disable" specific directions when jogging. This is particularly useful for delicate (e.g. contact) tasks, so the user can remove unwanted small commands in directions they want to be stationary in. Examples: in an insertion task you can restrict motion to the EE forward/backward direction, you can only allow pure translation/rotation, or you can keep the EE in a specific plane.The active directions can be changed live with a service call (
change_control_dimensions
). The input is a 6-long boolean array [translation-x, translation-y, translation-z, rotation-x, rotation-y, rotation-z] where passing afalse
sets the commanded velocity in that direction to 0, regardless of the user input. Note that the directions are defined in the commanded velocity frameChecklist