-
Notifications
You must be signed in to change notification settings - Fork 304
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
Component parser: Get mimic information from URDF #1256
Component parser: Get mimic information from URDF #1256
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1256 +/- ##
==========================================
+ Coverage 75.51% 76.14% +0.63%
==========================================
Files 41 41
Lines 3328 3396 +68
Branches 1921 1957 +36
==========================================
+ Hits 2513 2586 +73
+ Misses 421 420 -1
+ Partials 394 390 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
|
cf68abc
to
a2a50d9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll continue my review for the other files later
hardware_interface/include/hardware_interface/hardware_info.hpp
Outdated
Show resolved
Hide resolved
This pull request is in conflict. Could you fix it @christophfroehlich? |
816bb24
to
c54242d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest of the changes, look fine to me
ros2_control_test_assets/include/ros2_control_test_assets/descriptions.hpp
Show resolved
Hide resolved
ros2_control_test_assets/include/ros2_control_test_assets/descriptions.hpp
Show resolved
Hide resolved
ros2_control_test_assets/include/ros2_control_test_assets/descriptions.hpp
Show resolved
Hide resolved
ros2_control_test_assets/include/ros2_control_test_assets/descriptions.hpp
Show resolved
Hide resolved
ros2_control_test_assets/include/ros2_control_test_assets/descriptions.hpp
Show resolved
Hide resolved
ros2_control_test_assets/include/ros2_control_test_assets/descriptions.hpp
Outdated
Show resolved
Hide resolved
controller_manager/test/test_controllers_chaining_with_controller_manager.cpp
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me.
Just few minor suggestions :)
53fa708
to
f24c341
Compare
This pull request is in conflict. Could you fix it @christophfroehlich? |
d48cd88
to
eb04030
Compare
eb04030
to
06eef97
Compare
This pull request is in conflict. Could you fix it @christophfroehlich? |
30b9312
to
df937b9
Compare
This pull request is in conflict. Could you fix it @christophfroehlich? |
df937b9
to
628a8ef
Compare
3a1c1cd
to
48ee90e
Compare
Niceee! |
const auto & joint = hw_info.joints.at(i); | ||
|
||
// Search for mimic joints defined in ros2_control tag (deprecated) | ||
// TODO(christophfroehlich) delete deprecated config with ROS-J |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you open follow up on this by removing it add ading migration notes to ROS-J. Even better make 2 PR from it, so we can merge already migration notes, but then later (end of april) delete the code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -169,18 +299,18 @@ const auto hardware_resources = | |||
<state_interface name="velocity"/> | |||
<state_interface name="acceleration"/> | |||
</joint> | |||
<joint name="configuration"> | |||
<gpio name="configuration"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be also marked in the migration notes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. I added a screenshot in the PR summary on top.
Co-authored-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
9bdcda2
to
6143636
Compare
@Bence @destogl Let's merge this and then ros-controls/control.ros.org#262 to put the migration notes on the top level of the docs. |
Say no more! |
I started implementing the parsing of information about mimic joints from the URDF (instead of duplicating information in the
ros2_control
tag).This will fix #652:
Originally posted by @bmagyar in #652 (comment)
Decisions in WG meeting on 2024 01 03:
mimic="false"
should be for opt-out; missing ormimic="true"
has the same effectjoint
defined in the ros2_control tag is available in the URDF and throw an error otherwise. Is this ok, or are there any use-cases for an incomplete URDF?gpio
type.migration notes
I moved existing migration notes directly below the ros2_control heading and added migration notes for this change. Or should we put them at top-level? (can be done in a different PR).