-
Notifications
You must be signed in to change notification settings - Fork 195
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
static_transform_publisher more intuitive command-line arguments #295
Comments
@clalancette Starting on this now, but I'm wondering how you want the translation handled? I feel like it's appropriate to add Would you prefer to have a Also should |
I think we should make translation follow the same pattern as the rotation for consistency. Thus, I would go with
Yeah, I think so. There's a couple of things I failed to think about in the original description.
|
I would expect things to work with just |
Yeah, that's reasonable. Since this is going to be pretty verbose, I think we want to allow people to specify the minimum. I'm just wary of surprises, but in this case I think people will generally assume identity plus whatever they specified.
I wouldn't suggest a warning, but maybe something informational. Like:
(you can probably come up with some better wording than that) |
@clalancette I'll be starting on this in the next day or so. Sorry for the delays. |
Bug report
The order of command-line arguments in the
static_transform_publisher
program is hard to remember and follow. This led directly to the problem described in #292. It would be better if the command-line arguments were much more specific so there is no ambiguity. We discussed this in #292 (comment) and #292 (comment) , and the consensus was to add the following command-line arguments:Group 1:
--roll
- specify the roll in radians--pitch
- specify the pitch in radians--yaw
- specify the yaw in radiansGroup 2:
--roll_deg
- specify the roll in degrees--pitch_deg
- specify the pitch in degrees--yaw_deg
- specify the yaw in degreesGroup 3:
--qx
- Specify the quaternion X--qy
- Specify the quaternion Y--qz
- Specify the quaternion Z--qw
- Specify the quaternion WNote that each of the groups is mutually exclusive; if the user specifies
--roll
, they cannot then specify--roll_deg
or--qx
(while we technically could support mixed--roll
and--pitch_deg
, we'll just specify that they are exclusive for simplicity).In order to "tick-tock" this, we'll also continue to support the old command-line options up to and including Galactic, though with a deprecation warning. After Galactic, we'll remove the old command-line options. The old command-line options should also be mututally exclusive with any of the 3 groups above.
@allenh1 has graciously offered to take on implementing this. @Stapelzeiger FYI.
The text was updated successfully, but these errors were encountered: