Skip to content

Conversation

@kuralme
Copy link

@kuralme kuralme commented Nov 9, 2025

Used new tf frame prefix helper in differential drive controller to test out & showcase the helper. This is the first part of the changes, the other controllers will come next:

  • mecanum_drive_controller
  • omni_wheel_drive_controller

Related issue

Copy link
Member

@saikishor saikishor left a comment

Choose a reason for hiding this comment

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

I'm not sure if it makes sense to have it in the control_toolbox package. What about controllers_interfaces/helpers.hpp existing file?

What do you think @christophfroehlich ?

@christophfroehlich
Copy link
Contributor

I'm not sure if it makes sense to have it in the control_toolbox package. What about controllers_interfaces/helpers.hpp existing file?

OK, maybe you are right and we should put it here.

@kuralme
Copy link
Author

kuralme commented Nov 10, 2025

I'm not sure if it makes sense to have it in the control_toolbox package. What about controllers_interfaces/helpers.hpp existing file?

OK, maybe you are right and we should put it here.

I will start working on it

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

There is a behavior-breaking change now, right?
Can we do that gracefully? e.g.,

@codecov
Copy link

codecov bot commented Nov 14, 2025

Codecov Report

❌ Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.30%. Comparing base (d71538a) to head (05a578b).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...iff_drive_controller/src/diff_drive_controller.cpp 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1997      +/-   ##
==========================================
- Coverage   85.32%   85.30%   -0.03%     
==========================================
  Files         143      143              
  Lines       13936    13920      -16     
  Branches     1201     1198       -3     
==========================================
- Hits        11891    11874      -17     
- Misses       1638     1639       +1     
  Partials      407      407              
Flag Coverage Δ
unittests 85.30% <77.77%> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...ive_controller/test/test_diff_drive_controller.cpp 93.99% <100.00%> (-0.20%) ⬇️
...iff_drive_controller/src/diff_drive_controller.cpp 82.05% <50.00%> (-0.62%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

- control toolbox pkg already linked
- this commit is to be deleted later
- enable flag removed from args
- tilde substitution with ns added
- tests updated
- verbose comments
@kuralme kuralme force-pushed the tf_prefix_helper/diff_drive branch from 53851e8 to 0e25332 Compare November 15, 2025 15:49
- log message added if tf_frame_prefix_enable is not set default
- relevant info added to yaml description, migration and release notes
@kuralme
Copy link
Author

kuralme commented Nov 15, 2025

A note about my last commit: This is for the deprecations. I am aware of Bence's request, I will apply if a change needed to the helper source.

Copy link
Contributor

@christophfroehlich christophfroehlich left a comment

Choose a reason for hiding this comment

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

tf_frame_prefix_enable was not unused before? Instead, during the deprecation phase, we still should use this parameter before we remove it.

I'm not sure how we can gracefully transition the usage of node namespace? Currently, if tf_frame_prefix is not set, then automatically the node namespace is used.

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