-
Notifications
You must be signed in to change notification settings - Fork 132
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 parameterization type to orientation constraints #96
Conversation
Co-authored-by: Felix von Drigalski <[email protected]>
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.
Approved assuming you make the small punctuation change
I applied the latest review suggestions. Thank you! @felixvd I would think squashing is fine for such a small change, but if you want I can clean up the commit history. |
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.
Yes, I'll squash merge after this last comment.
msg/OrientationConstraint.msg
Outdated
float64 absolute_x_axis_tolerance | ||
float64 absolute_y_axis_tolerance | ||
float64 absolute_z_axis_tolerance | ||
|
||
# Defines how the orientation error is calculated | ||
# See absolute axis tolerance below to specify the magnitude. |
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'm good with the content, but shouldn't this new block be moved above the absolute_axis_tolerance
entries? This line also assumes they are below.
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.
Oh, good catch, I thought I changed it to above... I will fix it. But about the order:
My reasoning was that if you do not care about the parameterization you don't have to read it. I imagined the file was organized with the important (required) features at the top and the optional less common features at the bottom.
But on the other hand, it is maybe better to first mention how the tolerance values are used before allowing you to specify them.
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.
@felixvd I changed "below" to "above". I assume users start reading at the top of the file, and they can stop reading if they don't care about which parameterization is used. (For small tolerances, or tolerance on a single axis, this does not matter.)
Is this ok?
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.
Some nits, but I'm fine with this otherwise. Will merge after last comments and maybe changes from Jeroen.
Co-authored-by: Felix von Drigalski <[email protected]>
Co-authored-by: Felix von Drigalski <[email protected]>
@felixvd I went through your latest suggestions. |
As explained and discussed in #89
I'm almost finished with a corresponding PR that implements this new parameterization. (Edit: the PR) This would look like this:
in
moveit_core/kinematics_constraints
.