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

Disambiguate "estimate" pose from "goal" pose in log #427

Merged
merged 2 commits into from
Jul 17, 2019

Conversation

rotu
Copy link
Contributor

@rotu rotu commented Jul 11, 2019

Fixes #417
Previously setting a 2D Pose Estimate then a 2D Nav Goal would log something like:

[INFO] [rviz2]: Setting goal: Frame:map, Position(1.30849, -2.7475, 0), Orientation(0, 0, 0.624316, 0.781172) = Angle: 1.34851
[INFO] [rviz2]: Setting goal: Frame:map, Position(-2.8186, 2.15941, 0), Orientation(0, 0, 0.555852, 0.831281) = Angle: 1.17878

Now it logs something like:

[INFO] [rviz2]: Setting estimate pose: Frame:map, Position(0.672111, -0.269852, 0), Orientation(0, 0, -0.964214, 0.265125) = Angle: -2.60493
[INFO] [rviz2]: Setting goal pose: Frame:map, Position(0.259397, 0.284402, 0), Orientation(0, 0, -0.98341, 0.181399) = Angle: -2.77678

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

LGTM

We're having technical difficulties with Windows builds so I'll try to retrigger CI for it later:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows N/A

Copy link
Contributor Author

@rotu rotu left a comment

Choose a reason for hiding this comment

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

@jacobperron Done. How do I request a re-review

@jacobperron
Copy link
Member

@jacobperron Done. How do I request a re-review

Just like that 😄

Copy link
Member

@jacobperron jacobperron left a comment

Choose a reason for hiding this comment

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

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Edit: re-trigger Windows.

@jacobperron jacobperron merged commit e65c1c6 into ros2:ros2 Jul 17, 2019
@jacobperron
Copy link
Member

@rotu Thanks for the contribution!

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.

When setting a 2D Pose Estimate, RViz incorrectly logs "Setting goal"
2 participants