-
Notifications
You must be signed in to change notification settings - Fork 124
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 service header including request and response message #97
Conversation
need to make some modifications so that services work with introspection C. |
huh, still not working, I think I need to change generator target dependencies |
daacc06
to
9bdd75f
Compare
Should work now |
624995c
to
7998697
Compare
"${_output_path}/srv/rosidl_generator_c__visibility_control.h") | ||
configure_file( | ||
"${rosidl_generator_c_TEMPLATE_DIR}/rosidl_generator_c__visibility_control.h.in" | ||
"${_srv_visibility_control_file}" |
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.
Services don't need a separate visibility control file.
@dirk-thomas This is ready for re-review. This is a recent CI job (the lint errors were fixed in a subsequent commit): http://ci.ros2.org/job/ci_windows/1171/ |
@@ -107,14 +109,15 @@ add_custom_command( | |||
) | |||
|
|||
# generate header to switch between export and import for a specific package | |||
set(_visibility_control_file | |||
set(_msg_visibility_control_file |
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.
Please avoid the rename.
I've addressed all new comments so far. |
LGTM. Does any code use this? Aka does it make sense to trigger CI? |
There is code in the pending rcl pull request with the same branch name that uses this. |
002aca2
to
e1d32f7
Compare
Connects to ros2/rcl#27
Bit of a bikeshed question, should srv.h be a pass-through header that only includes files, and should there additionally be a srv__type_support header with the ROSIDL_GET_TYPESUPPORT_FUNCTION definition?