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

diff_drive base_frame_id param - default value #495

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

delihus
Copy link
Contributor

@delihus delihus commented Jan 11, 2023

I think the most common base_frame_id would be the base_link value.
Furthermore the default diff_drive_controller parameters make odom -> odom transform.

Found issue:
#482

changed default value from `odom` -> `base_link`
Copy link
Member

@bmagyar bmagyar left a comment

Choose a reason for hiding this comment

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

Thanks and good catch!

@bmagyar bmagyar enabled auto-merge (squash) January 11, 2023 13:48
@codecov-commenter
Copy link

Codecov Report

Merging #495 (4bb7fb6) into master (e7f9962) will decrease coverage by 3.30%.
The diff coverage is 26.60%.

@@            Coverage Diff             @@
##           master     #495      +/-   ##
==========================================
- Coverage   35.78%   32.48%   -3.31%     
==========================================
  Files         189        7     -182     
  Lines       17570      665   -16905     
  Branches    11592      357   -11235     
==========================================
- Hits         6287      216    -6071     
+ Misses        994      157     -837     
+ Partials    10289      292    -9997     
Flag Coverage Δ
unittests 32.48% <26.60%> (-3.31%) ⬇️

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

Impacted Files Coverage Δ
...ontroller/test/test_load_diff_drive_controller.cpp 12.50% <0.00%> (ø)
diff_drive_controller/src/odometry.cpp 42.16% <11.11%> (ø)
diff_drive_controller/src/speed_limiter.cpp 46.55% <11.11%> (ø)
...ive_controller/test/test_diff_drive_controller.cpp 17.62% <12.08%> (ø)
...troller/include/diff_drive_controller/odometry.hpp 20.00% <20.00%> (ø)
...iff_drive_controller/src/diff_drive_controller.cpp 39.22% <35.50%> (ø)
...de/diff_drive_controller/diff_drive_controller.hpp 100.00% <100.00%> (ø)
...int_trajectory_controller/test/test_trajectory.cpp
...ontrollers/src/joint_group_position_controller.cpp
...ectory_controller/test/test_trajectory_actions.cpp
... and 191 more

Copy link
Member

@destogl destogl left a comment

Choose a reason for hiding this comment

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

Great catch! Thank you very much!

@bmagyar bmagyar merged commit acaf918 into ros-controls:master Jan 11, 2023
@destogl
Copy link
Member

destogl commented Jan 11, 2023

@Mergifyio backport humble

mergify bot pushed a commit that referenced this pull request Jan 11, 2023
changed default value from `odom` -> `base_link`

(cherry picked from commit acaf918)
@mergify
Copy link
Contributor

mergify bot commented Jan 11, 2023

backport humble

✅ Backports have been created

destogl pushed a commit that referenced this pull request Jan 11, 2023
(cherry picked from commit acaf918)

Co-authored-by: Jakub Delicat <109142865+delihus@users.noreply.github.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.

diff_drive_controller generates wrong odom and robot base frame names
4 participants