-
Notifications
You must be signed in to change notification settings - Fork 130
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
Generate typesupport declarations for actions, messages and services #703
Conversation
19b62c0
to
929f727
Compare
Can't reproduce the uncrustify test failing on the |
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've left one thing to fix inline, and this needs to be rebased onto the latest rolling
branch. Once those things are done, I'll run CI on it.
@# - content (IdlContent, list of elements, e.g. Messages or Services) | ||
@####################################################################### | ||
@{ | ||
from rosidl_cmake import convert_camel_case_to_lower_case_underscore |
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 has now been deprecated, so this should be:
from rosidl_cmake import convert_camel_case_to_lower_case_underscore | |
from rosidl_pycommon import convert_camel_case_to_lower_case_underscore |
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.
…rvices. Signed-off-by: Stefan Fabian <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
Signed-off-by: Shane Loretz <[email protected]>
This pull request has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/preparing-for-foxy-fitzroy-end-of-life/31470/2 |
rosidl_generator_cpp/cmake/rosidl_generator_cpp_generate_interfaces.cmake
Show resolved
Hide resolved
@Mergifyio backport humble (Probably won't work for me, can one of the contributors trigger that?) |
❌ Command disallowed due to command restrictions in the Mergify configuration.
|
I have created backports for humble (#778 and ros2/rosidl_typesupport#149) and verified that they work and pass all tests on my machine. |
As discussed in ros2/rosidl_typesupport#114, this PR adds the generation of typesupport getter declarations that is currently missing.
For this, I have also added package-specific visibility control analogous to
rosidl_generator_c
.Here's an example of the generated
fibonacci__type_support.hpp
from theaction_tutorials_interfaces
package: