Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
fix missing C++ service request/response symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
hidmic authored and dirk-thomas committed Feb 5, 2019
1 parent 23c9986 commit 9f271ba
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,21 @@ for service in content.get_elements_of_type(Service):
#######################################################################
from rosidl_parser.definition import Action
for action in content.get_elements_of_type(Action):
TEMPLATE(
'msg__rosidl_typesupport_connext_cpp.hpp.em',
package_name=package_name, interface_path=interface_path, message=action.goal_request,
include_directives=include_directives
)
TEMPLATE(
'msg__rosidl_typesupport_connext_cpp.hpp.em',
package_name=package_name, interface_path=interface_path, message=action.result_response,
include_directives=include_directives
)
TEMPLATE(
'msg__rosidl_typesupport_connext_cpp.hpp.em',
package_name=package_name, interface_path=interface_path, message=action.feedback,
include_directives=include_directives
)
TEMPLATE(
'srv__rosidl_typesupport_connext_cpp.hpp.em',
package_name=package_name, interface_path=interface_path, service=action.goal_service,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
@# Included from rosidl_typesupport_connext_cpp/resource/srv__rosidl_typesupport_connext_cpp.hpp.em
@{
TEMPLATE(
'msg__rosidl_typesupport_connext_cpp.hpp.em',
package_name=package_name, interface_path=interface_path,
message=service.request_message,
include_directives=include_directives
)
}@

@{
TEMPLATE(
'msg__rosidl_typesupport_connext_cpp.hpp.em',
package_name=package_name, interface_path=interface_path,
message=service.response_message,
include_directives=include_directives
)
}@

@{
header_files = [
'rmw/types.h',
Expand Down

0 comments on commit 9f271ba

Please sign in to comment.