Skip to content

improve logging with more verbosity in SimpleChargingDock#5824

Merged
SteveMacenski merged 1 commit intoros-navigation:mainfrom
HannesBachter:fix/verbose_logging
Jan 20, 2026
Merged

improve logging with more verbosity in SimpleChargingDock#5824
SteveMacenski merged 1 commit intoros-navigation:mainfrom
HannesBachter:fix/verbose_logging

Conversation

@HannesBachter
Copy link
Contributor


Basic Info

Info Please fill out this column
Ticket(s) this addresses None
Primary OS tested on Ubuntu
Robotic platform tested on gazebo simulation of NEURA MiPA
Does this PR contain AI generated software? No
Was this PR description generated by AI software? No

Description of contribution in a few bullet points

Description of documentation updates required from your changes

  • only improved logging, no documentation update should be necessary

Description of how this change was tested

  • tested docking without tf frame available
  • tested docking with tf frame available

Future work that may be required in bullet points

For Maintainers:

  • Check that any new parameters added are updated in docs.nav2.org
  • Check that any significant change is added to the migration guide
  • Check that any new features OR changes to existing behaviors are reflected in the tuning guide
  • Check that any new functions have Doxygen added
  • Check that any new features have test coverage
  • Check that any new plugins is added to the plugins page
  • If BT Node, Additionally: add to BT's XML index of nodes for groot, BT package's readme table, and BT library lists
  • Should this be backported to current distributions? If so, tag with backport-*.

Copy link
Collaborator

@mini-1235 mini-1235 left a comment

Choose a reason for hiding this comment

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

Could you please fix the linting and sign with DCO?

opennav_docking.uncrustify

Diff with 7 lines
--- src/simple_charging_dock.cpp
+++ src/simple_charging_dock.cpp.uncrustify
@@ -259,2 +259,2 @@
-                    detected.header.stamp.sec + detected.header.stamp.nanosec* 1e-9
-                  ));
+            detected.header.stamp.sec + detected.header.stamp.nanosec * 1e-9
+        ));

@SteveMacenski
Copy link
Member

@HannesBachter across the 3 PRs and then I can merge all 3!

Cross linking:

@mini-1235
Copy link
Collaborator

@HannesBachter any updates?

@HannesBachter
Copy link
Contributor Author

HannesBachter commented Jan 19, 2026

Sorry for the delay, updated to align with uncrustify and signed the commit 👍

@codecov
Copy link

codecov bot commented Jan 19, 2026

Codecov Report

❌ Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...cking/opennav_docking/src/simple_charging_dock.cpp 33.33% 2 Missing ⚠️
Files with missing lines Coverage Δ
...cking/opennav_docking/src/simple_charging_dock.cpp 96.49% <33.33%> (ø)

... and 30 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

RCLCPP_WARN(node_->get_logger(), "Failed to transform detected dock pose");
RCLCPP_WARN(
node_->get_logger(), "Failed to transform detected dock pose: "
"cannot transform %s to %s at time %2.2f)s",
Copy link
Collaborator

Choose a reason for hiding this comment

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

There's an extra ) in this line, I think this should be removed, right?

Copy link
Contributor Author

@HannesBachter HannesBachter Jan 20, 2026

Choose a reason for hiding this comment

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

Yes, good catch - I'm sorry I missed that 🙈

Copy link
Member

@SteveMacenski SteveMacenski left a comment

Choose a reason for hiding this comment

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

See @mini-1235 's review. Update for the 3 PRs and I can merge!

Signed-off-by: Hannes Bachter <hannes.bachter@neura-robotics.com>
@SteveMacenski SteveMacenski merged commit 8718d22 into ros-navigation:main Jan 20, 2026
16 of 17 checks passed
Pana1v pushed a commit to Arnav-panjla/navigation2 that referenced this pull request Feb 21, 2026
…tion#5824)

Signed-off-by: Hannes Bachter <hannes.bachter@neura-robotics.com>
Co-authored-by: Hannes Bachter <hannes.bachter@neura-robotics.com>
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.

3 participants