Skip to content

[service introspection] Guard #include <cstddef> when being included from a c source - #125

Merged
ivanpauno merged 2 commits into
rollingfrom
service_introspection-serialized
Jul 26, 2022
Merged

[service introspection] Guard #include <cstddef> when being included from a c source#125
ivanpauno merged 2 commits into
rollingfrom
service_introspection-serialized

Conversation

@ihasdapie

@ihasdapie ihasdapie commented Jun 29, 2022

Copy link
Copy Markdown
Member

This PR is a prototype for the service introspection REP (ros-infrastructure/rep#360) implementing the proposed single serialized message approach (ros-infrastructure/rep#360 (comment)).

This PR wraps #include <cstddef> in rosidl_typesupport_c/include/rosidl_typesupport_c/type_support_map.h so that rcl can access type_support_map_t

See: ros2/rcl#990

For instructions on how to build and run this see the meta-ticket ros2/ros2#1285.

Resolves ros2/ros2#1285

Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
@ihasdapie ihasdapie mentioned this pull request Jun 29, 2022
14 tasks
Comment thread rosidl_typesupport_c/include/rosidl_typesupport_c/type_support_map.h Outdated
Signed-off-by: Brian Chen <brian.chen@openrobotics.org>
@ihasdapie ihasdapie self-assigned this Jul 14, 2022
@sloretz

sloretz commented Jul 25, 2022

Copy link
Copy Markdown
Contributor

@ihasdapie I see this is marked as a draft, but it looks fine as is. Mind if I run CI and merge it?

@ihasdapie

Copy link
Copy Markdown
Member Author

@sloretz Np, I've just made a CI job for it

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@ihasdapie
ihasdapie marked this pull request as ready for review July 25, 2022 23:56
@ihasdapie

Copy link
Copy Markdown
Member Author

Ignore the previous comment, needed to make a new branch for CI to avoid pulling in my changes in other repos...

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@ivanpauno
ivanpauno merged commit c35869b into rolling Jul 26, 2022
@delete-merged-branch
delete-merged-branch Bot deleted the service_introspection-serialized branch July 26, 2022 13:13
@jacobperron

Copy link
Copy Markdown
Member

@ihasdapie Be careful to use "Resolves #X" in the ticket description only when it should close the connected ticket. Merging this closed the meta-ticket tracking the service introspection work.

@ihasdapie

Copy link
Copy Markdown
Member Author

@jacobperron Got it. I had originally planned on merging them at the same time but in retrospect that might be a bit too hopeful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Service Introspection

5 participants