-
Notifications
You must be signed in to change notification settings - Fork 19
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
Updating templates with developments from mecanum_controller #106
base: master
Are you sure you want to change the base?
Conversation
This pull request is in conflict. Could you fix it @Robotgir? |
templates/ros2_control/controller/test_dummy_controller_preceeding.cpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/test_dummy_chainable_controller.cpp
Outdated
Show resolved
Hide resolved
Co-authored-by: Dr. Denis <[email protected]>
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.
Some changes still needed, not sure if this is working as it should
templates/ros2_control/controller/dummy_chainable_controller.cpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/dummy_chainable_controller.cpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/dummy_chainable_controller.cpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/dummy_chainable_controller.cpp
Outdated
Show resolved
Hide resolved
@@ -29,3 +29,12 @@ dummy_controller: | |||
forbidden_interface_name_prefix: null | |||
} | |||
} | |||
reference_names: { |
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 am uncertain if this is necessary here or if we should have this in the separate file for the chainable controller.
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.
separate file idea sounds better to me as this is not always the case
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.
@Robotgir are you planing to fix this?
templates/ros2_control/controller/dummy_package_namespace/dummy_chainable_controller.hpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/dummy_package_namespace/dummy_controller.hpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/test_dummy_chainable_controller.cpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/test_dummy_chainable_controller.hpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/test_dummy_chainable_controller.cpp
Outdated
Show resolved
Hide resolved
@Robotgir can you test this through one more time, please? |
306a752
to
d2911e5
Compare
.clang-format
Outdated
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.
added changes intentionally as you wanted to check them for new config file from ros2_contol
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 added into a new PR
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.
d2911e5
to
3f3e1db
Compare
This pull request is in conflict. Could you fix it @Robotgir? |
templates/ros2_control/controller/dummy_package_namespace/dummy_controller.hpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/dummy_package_namespace/dummy_controller.hpp
Outdated
Show resolved
Hide resolved
@gwalck please also resolve all deprecation warnings from the generated 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.
Propose also to change the following:
auto current_ref = input_ref_.readFromRT();
to
auto current_ref = *(reference_.readFromRT());
And all changed following from this. It should clean up the code a bit.
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 have reviewed the changes, added multiple fixes to remove deprecated + fixed all tests
templates/ros2_control/controller/dummy_chainable_controller.cpp
Outdated
Show resolved
Hide resolved
templates/ros2_control/controller/test_dummy_chainable_controller_preceeding.cpp
Outdated
Show resolved
Hide resolved
This pull request is in conflict. Could you fix it @Robotgir? |
created a ros2_controller package from this template and all tests pass, tests specific to ref_timeout are not included as they are being addressed in #73